i2c_com.s
来自「单片机开发资料光盘-双龙-686M.zip」· S 代码 · 共 25 行
S
25 行
.module I2C_COM.c
.area eeprom(rom, con, rel)
_Slave_Add::
.byte 176
.dbfile E:\icc\iccavr\mega8\mega8\I2C_COM\I2C_COM.c
.dbsym e Slave_Add _Slave_Add c
_Master_Add::
.byte 176
.dbsym e Master_Add _Master_Add c
.area data(ram, con, rel)
.dbfile E:\icc\iccavr\mega8\mega8\I2C_COM\I2C_COM.c
.area text(rom, con, rel)
.dbfile E:\icc\iccavr\mega8\mega8\I2C_COM\I2C_COM.c
.dbfunc e twi_tran _twi_tran fV
; temp -> R20
.even
_twi_tran::
rcall push_gset1
.dbline -1
.dbline 35
; /*******************************************/
; /* 广州天河双龙电子公司 */
; /* http://www.sl.com.cn */
; /* 硬件I2C总线演示程序之四 */
; /* 中断、双向通信(和UART连接)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?