
DS4830A User’s Guide
103
11.2 – I
2
C Slave Controller Register Description
Following are the registers that are used to control the I
2
C Slave Interface.
11.2.1 – I
2
C Slave Control Register (I2CCN_S)
* Unrestricted Read. Unrestricted write access when I2CBUSY=0. Writes to I2CEN are disabled when I2CBUSY=1.
Reserved. The user should not write to these bits.
I
2
C Slave Address 4 Enable: Setting this bit to ‘1’, enables slave address I2CSLA4_S and the I
2
C
controller uses this slave address during the address match event. When this bit is set to ‘0’, disables
I
2
C Slave Address 3 Enable: Setting this bit to ‘1’, enables slave address I2CSLA3_S and the I
2
C
controller uses this slave address during the address match event. When this bit is set to ‘0’, disables
I
2
C Slave Address 2 Enable: Setting this bit to ‘1’, enables slave address I2CSLA2_S and the I
2
C
controller uses this slave address during the address match event. When this bit is set to ‘0’, disables
Slave SMBUS Mode Operation. When this bit is set to a ‘1’, SMBus timeout functionality is enabled
for the I2C slave interface. When this bit is cleared to ‘0’, the SMBus timeout functionality is disabled.
See the SMBUS Timeout section for more details.
I
2
C Slave Clock Stretch Enable. Setting this bit to '1' stretches the clock (holds SCL low) at the end
of the clock cycle specified in I2CSTRS. Clearing this bit disables clock stretching.
I
2
C Slave General Call Enable. Setting this bit to '1' enables the I
2
C to respond to a general call
address (address = 0000 0000). Clearing this bit to '0' disables response to general call address.
Reserved. The user should not write to these bits.
I
2
C Slave Data Acknowledge Bit. This bit selects the acknowledge bit returned by the I
2
C controller
while acting as a receiver. Setting this bit to ‘1’ generates a NACK (leaving SDA high). Clearing the
I2CACK bit to ‘0’ generates an ACK (pulling SDA LOW) during the acknowledgement cycle. This bit
retains its value unless changed by software or hardware.
I
2
C Slave Clock Stretch Select. Setting this bit to ‘1’ enables clock stretching after the falling edge of
the 8
th
clock cycle. Clearing this bit to ‘0’ enables clock stretching after the falling edge of the 9
th
clock
cycle. This bit has no effect when clock stretching is disabled (I2CSTREN=0).
Reserved. The user should not write to this bit.
I
2
C Transfer Mode Select. This bit reflects the actual R/W bit value in current I
2
C transfer and is set
by hardware. The same bit is set by hardware for corresponding slave address register following a
successful slave address match.
Reserved. The user should not write to this bit.
I
2
C Slave Enable. This bit enables the I
2
C Slave function. When set to ’1’, I
2
C Slave communication
is enabled. When cleared to ‘0’, the I
2
Commenti su questo manuale