
DS4830A User’s Guide
106
11.2.4 – I
2
C Slave Status2 Register (I2CST2_S)
Reserved. The user should not write to these bits.
I
2
C Slave STOP Interrupt Flag. This bit is set to '1' when a STOP condition is detected. This bit
must be cleared to '0' by software once set. Setting this bit to '1' by software causes an interrupt if
I
2
C START and Start of Address Cycle Flag. This bit is set to ‘1’ if the I
2
C controller has detected
an I2C START and 2 cycles of SCL clock. Setting this to ’1’ causes an interrupt if enabled. This bit
must be cleared to ‘0’ by software once set.
Memory Address Detected Interrupt Flag. This bit indicates that the I
2
C slave controller has
detected a memory address and copied address into bit [7:0] of MPNTR register. This bit must be
cleared to ‘0’ by software once set. Setting this bit to ‘1’ by software causes an interrupt if enabled.
Reserved. The user should not write to this bit.
Slave Transmit Complete Interrupt Flag. This bit indicates that an address or a data byte has
been successfully shifted out and the
I
2
C controller has received an acknowledgment from the
receiver (NACK or ACK). This bit must be cleared by software once set.
Reserved. The user should not write to this bit.
11.2.5 – I
2
C Slave Interrupt Enable2 Register (I2CIE2_S)
Reserved. The user should not write to these bits.
I
2
C Slave STOP Interrupt Enable. Setting this bit to ‘1’ causes an interrupt to the CPU when a
STOP condition is detected (I2CSPI=1). Clearing this bit to ‘0’ disables the STOP detection interrupt.
I
2
C Slave After Start Interrupt Enable. Setting this bit to ‘1’ causes an interrupt to the CPU after
I
2
C start + two master clocks.
I
2
C Slave Memory Address Interrupt Enable. Setting this bit to ‘1’ causes an interrupt to the CPU
when a memory address is detected on the I
2
C bus. The memory address cycle is detected by I
2
C
controller after address match with write. The I
2
C controller looks for data after address match with
write and copies into the MPNTR register. Clearing this bit to ‘0’ disables the memory address
Reserved. The user should not write to these bits.
Kommentare zu diesen Handbüchern