EasyManua.ls Logo

Microchip Technology dsPIC30F - Page 526

Microchip Technology dsPIC30F
738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
dsPIC30F Family Reference Manual
DS70068C-page 21-12 © 2004 Microchip Technology Inc.
Register 21-2: I2CSTAT: I
2
C Status Register (Continued)
bit 4 P: Stop bit
1 = Indicates that a Stop bit has been detected last
0 = Stop bit was not detected last
Hardware set or clear when Start, Repeated Start or Stop detected.
bit 3 S: Start bit
1 = Indicates that a Start (or Repeated Start) bit has been detected last
0 = Start bit was not detected last
Hardware set or clear when Start, Repeated Start or Stop detected.
bit 2 R_W: Read/Write bit Information (when operating as I
2
C slave)
1 = Read - indicates data transfer is output from slave
0 = Write - indicates data transfer is input to slave
Hardware set or clear after reception of I
2
C device address byte.
bit 1 RBF: Receive Buffer Full Status bit
1 = Receive complete, I2CRCV is full
0 = Receive not complete, I2CRCV is empty
Hardware set when I2CRCV written with received byte.
Hardware clear when software reads I2CRCV.
bit 0 TBF: Transmit Buffer Full Status bit
1 = Transmit in progress, I2CTRN is full
0 = Transmit complete, I2CTRN is empty
Hardware set when software writes I2CTRN.
Hardware clear at completion of data transmission.
Legend:
R = Readable W = Writable C = Clearable bit
HC = Cleared by Hardware HS = Set by Hardware U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set at POR ‘0’ = Bit cleared at POR x = Bit is unknown at POR

Table of Contents

Other manuals for Microchip Technology dsPIC30F