文件名称:iics
介绍说明--下载内容来自于网络,使用问题请自行百度
pic子和序。本程序实现IIC从动方式发送或接受2个字节数据。
入口参数:本机地址在SADR中,待发送的数据在SOUH:SOU中。
出口参数:接收到的数据在SOUH:SOU中。
占用资源:W,STATUS,024H,025H,028H,029H,07FH,07EH,17FH,SSP模块,1重堆栈。
说明: 1.使用该程序需在中断入口程序中填入如下两条指令-pic child and order. The program realization IIC slave send or receive 2 bytes of data. Entrance parameters: the machine address of the SADR in the data to be transmitted in SOUH: SOU in. Export parameters: the data received in SOUH: SOU in. Take up resources: W, STATUS, 024H, 025H, 028H, 029H, 07FH, 07EH, 17FH, SSP module, a weight stack. Note: 1. To use the program need to fill in the interrupt entry process following two instructions
入口参数:本机地址在SADR中,待发送的数据在SOUH:SOU中。
出口参数:接收到的数据在SOUH:SOU中。
占用资源:W,STATUS,024H,025H,028H,029H,07FH,07EH,17FH,SSP模块,1重堆栈。
说明: 1.使用该程序需在中断入口程序中填入如下两条指令-pic child and order. The program realization IIC slave send or receive 2 bytes of data. Entrance parameters: the machine address of the SADR in the data to be transmitted in SOUH: SOU in. Export parameters: the data received in SOUH: SOU in. Take up resources: W, STATUS, 024H, 025H, 028H, 029H, 07FH, 07EH, 17FH, SSP module, a weight stack. Note: 1. To use the program need to fill in the interrupt entry process following two instructions
(系统自动生成,下载前可以参看下载内容)
下载文件列表
iics.asm
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.