pic单片机的i2c应用程序1..docx
- jinzhuang个人认证 |
- 2021-09-19 发布|
- 10.34 KB|
- 6页
PIC 单片机的 I2C 应用程序 1
; File: an734.asm; data: feb.23.2001; Functionality:;; This code implements the basic functions for an I2C slave device; using the SSP module. All I2C functions are handled in an ISR.; Bytes written to the slave are stored in a buffer. After a number; of bytes have been written, the master device can then read the; bytes back from the buffer.;; Variables and Constants used in the program:;; The st ; File: an734.asm
; data: feb.23.2001
; Functionality:
J
; This code implements the basic functions for an I2C slave device ; using the SSP module. All I2C functions are handled in an ISR. ; Bytes written to the slave are stored in a buffer. After a number ; of bytes have been written, the master device can then read the ; bytes back from the buffer.
J
; Variables and Constant