10.07.2015 Views

pic24fj128ga010 family - Microchip

pic24fj128ga010 family - Microchip

pic24fj128ga010 family - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PIC24FJ128GA010 FAMILYREGISTER 15-2:I2CxSTAT: I2Cx STATUS REGISTERR-0, HSC R-0, HSC U-0 U-0 U-0 R/C-0, HSC R-0, HSC R-0, HSCACKSTAT TRSTAT — — — BCL GCSTAT ADD10bit 15 bit 8R/C-0, HSC R/C-0, HSC R-0, HSC R/C-0, HSC R/C-0, HSC R-0, HSC R-0, HSC R-0, HSCIWCOL I2COV D/A P S R/W RBF TBFbit 7 bit 0Legend: HS = Hardware Settable bit HSC = Hardware Settable/Clearable bitR = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknownbit 15ACKSTAT: Acknowledge Status bit1 = NACK received from slave0 = ACK received from slaveHardware set or clear at end of slave Acknowledge.bit 14 TRSTAT: Transmit Status bit (When operating as I 2 C master. Applicable to master transmit operation.)1 = Master transmit is in progress (8 bits + ACK)0 = Master transmit is not in progressHardware set at beginning of master transmission. Hardware clear at end of slave Acknowledge.bit 13-11 Unimplemented: Read as ‘0’bit 10bit 9bit 8bit 7bit 6bit 5bit 4BCL: Master Bus Collision Detect bit1 = A bus collision has been detected during a master operation0 = No collisionHardware set at detection of bus collision.GCSTAT: General Call Status bit1 = General call address was received0 = General call address was not receivedHardware set when address matches general call address. Hardware clear at Stop detection.ADD10: 10-Bit Address Status bit1 = 10-bit address was matched0 = 10-bit address was not matchedHardware set at match of 2nd byte of matched 10-bit address. Hardware clear at Stop detection.IWCOL: Write Collision Detect bit1 = An attempt to write the I2CxTRN register failed because the I 2 C module is busy0 = No collisionHardware set at occurrence of write to I2CxTRN while busy (cleared by software).I2COV: Receive Overflow Flag bit1 = A byte was received while the I2CxRCV register is still holding the previous byte0 = No overflowHardware set at attempt to transfer I2CxRSR to I2CxRCV (cleared by software).D/A: Data/Address bit (when operating as I 2 C slave)1 = Indicates that the last byte received was data0 = Indicates that the last byte received was device addressHardware clear at device address match. Hardware set by write to I2CxTRN or by reception of slave byte.P: Stop bit1 = Indicates that a Stop bit has been detected last0 = Stop bit was not detected lastHardware set or clear when Start, Repeated Start or Stop detected.DS39747E-page 136© 2009 <strong>Microchip</strong> Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!