
DS4830 User’s Guide
97
11.2.3 – I
2
C Slave Interrupt Enable Register (I2CIE_S)
Address: M2[02h]
Reserved. The user should write 0 to these bits.
I
2
C Slave STOP Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when a STOP
condition is detected (I2CSPI=1). Clearing this bit to ‘0’ will disable the STOP detection interrupt.
Reserved. The user should write 0 to this bit.
I
2
C Slave Receiver Overrun Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when
a receiver overrun condition is detected (I2ROI=1). Clearing this bit to ‘0’ will disable the receiver overrun
detection interrupt.
I
2
C Slave General Call Interrupt Enable. Setting this bit to '1' will cause an interrupt to the CPU when a
general call is detected (I2CGCI=1). Clearing this bit to '0' will disable the general call interrupt.
I
2
C Slave NACK Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when a NACK is
detected (I2CNACKI=1). Clearing this bit to ‘0’ will disable the NACK detection interrupt.
Reserved. The user should write 0 to this bit.
I
2
C Slave Address Match Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when
the I
2
C controller detects an address that matches the I2CSLA_S value (I2CAMI=1). Clearing this bit to ‘0’
will disable the address match interrupt.
I
2
C Slave Timeout Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when an
SMBUS timeout condition is detected (I2CTOI=1). Clearing this bit to ‘0’ will disable the timeout interrupt.
I
2
C Slave Clock Stretch Interrupt Enable. Setting this bit to '1' will generate an interrupt to the CPU when
the clock stretch interrupt flag is set (I2CSTRI=1). Clearing this bit will disable the clock stretch interrupt.
I
2
C Slave Receive Ready Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when
the receive ready interrupt flag is set (I2CRXI=1). Clearing this bit to ‘0’ will disable the receive ready
interrupt.
I
2
C Slave Transmit Complete Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU
when the transmit complete interrupt flag is set (I2CTXI=1). Clearing this bit to ‘0’ will disable the transmit
complete interrupt.
I
2
C Slave START Interrupt Enable. Setting this bit to ‘1’ will cause an interrupt to the CPU when a START
condition is detected (I2CSRI=1). Clearing this bit to ‘0’ will disable the START detection interrupt.
11.2.4 – I
2
C Slave Address Register (I2CSLA_S)
Address: M2[0Fh]
Reserved. The user should write 0 to these bits.
Slave Address. These address bits contain the address of the I
2
C slave interface. When a match to this
address is detected, the I
2
C controller will automatically acknowledge the host with the I2CACK bit value
and the I2CAMI flag will be set to ‘1’. An interrupt will be generated if enabled.
I2C Transfer Mode Select. This bit reflects the actual R/W bit value in current value in I2C transfer and set
by hardware.
Comentarios a estos manuales