
DS4830 User’s Guide
87
10.2.3 – I
2
C Master Interrupt Enable Register (I2CIE_M)
Address: M1[02h]
Reserved. The user should write 0 to these bits.
I
2
C Master STOP Interrupt Enable. Setting this bit to ‘1’ will enable an interrupt
when a STOP condition is detected (I2CSPI=1). Clearing this bit to ‘0’ will disable
the STOP detection interrupt.
Reserved. The user should not write to this bit.
I
2
C Master Receiver Overrun Interrupt Enable. Setting this bit to ‘1’ will enable
an interrupt when a receiver overrun condition is detected (I2ROI=1). Clearing this
bit to ‘0’ will disable the receiver overrun detection interrupt.
I
2
C General Call Interrupt Enable. This bit has no function when operating in
master mode.
I
2
C Master NACK Interrupt Enable. Setting this bit to ‘1’ will enable an interrupt
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 Address Match Interrupt Enable. This bit has no function when operating in
master mode.
I
2
C Master Timeout Interrupt Enable. Setting this bit to ‘1’ will enable an
interrupt when a timeout condition is detected (I2CTOI=1). Clearing this bit to ‘0’
will disable the timeout interrupt.
I
2
C Master Clock Stretch Interrupt Enable. Setting this bit to ‘1’ will enable an
interrupt when the clock stretch interrupt flag is set (I2CSTRI=1). Clearing this bit
will disable the clock stretch interrupt.
I
2
C Master Receive Ready Interrupt Enable. Setting this bit to ‘1’ will enable an
interrupt when receive ready interrupt flag is set (I2CRXI=1). Clearing this bit to ‘0’
will disable the receive ready interrupt.
I
2
C Master Transmit Complete Interrupt Enable. Setting this bit to ‘1’ will enable
an interrupt when transmit complete interrupt flag is set (I2CTXI=1). Clearing this
bit to ‘0’ disables transmit complete interrupt.
I
2
C Master START Interrupt Enable. Setting this bit to ‘1’ will enable an interrupt
when a START condition is detected (I2CSRI=1). Clearing this bit to ‘0’ will
disable the START detection interrupt.
10.2.4 – I
2
C Master Data Buffer Register (I2CBUF_M)
Address: M1[00h]
* Unrestricted read access. This register can be written to only when I2CBUSY = 0.
Reserved. The user should write 0 to these bits.
Data for I
2
C transfer is read from or written to this location. The I
2
C transmit and receive buffers are
separate but both are addressed at this location.
Comentários a estes Manuais