ACK=ack, GCEN=dis, SWOE=outputs_disable, IRXM=dis, SCLO=drive_scl_low, MST=slave_mode, I2CEN=dis, READ=write, SCL_STRD=en, SCL_PPM=dis, HSMODE=dis, SDAO=drive_sda_low
Control Register0.
I2CEN | I2C Enable. 0 (dis): Disable I2C. 1 (en): enable I2C. |
MST | Master Mode Enable. 0 (slave_mode): Slave Mode. 1 (master_mode): Master Mode. |
GCEN | General Call Address Enable. 0 (dis): Ignore Gneral Call Address. 1 (en): Acknowledge general call address. |
IRXM | Interactive Receive Mode. 0 (dis): Disable Interactive Receive Mode. 1 (en): Enable Interactive Receive Mode. |
ACK | Data Acknowledge. This bit defines the acknowledge bit returned by the I2C receiver while IRXM = 1 HW forces ACK to 0 when IRXM = 0. 0 (ack): return ACK (pulling SDA LOW). 1 (nack): return NACK (leaving SDA HIGH). |
SCLO | SCL Output. This bits control SCL output when SWOE =1. 0 (drive_scl_low): Drive SCL low. 1 (release_scl): Release SCL. |
SDAO | SDA Output. This bits control SDA output when SWOE = 1. 0 (drive_sda_low): Drive SDA low. 1 (release_sda): Release SDA. |
SCL | SCL status. This bit reflects the logic gate of SCL signal. |
SDA | SDA status. THis bit reflects the logic gate of SDA signal. |
SWOE | Software Output Enable. 0 (outputs_disable): I2C Outputs SCLO and SDAO disabled. 1 (outputs_enable): I2C Outputs SCLO and SDAO enabled. |
READ | Read. This bit reflects the R/W bit of an address match (AMI = 1) or general call match(GCI = 1). This bit is valid 3 cycles after the relevant interrupt bit is set. 0 (write): Write. 1 (read): Read. |
SCL_STRD | This bit will disable slave clock stretching when set. 0 (en): Slave clock stretching enabled. 1 (dis): Slave clock stretching disabled. |
SCL_PPM | SCL Push-Pull Mode. This bit controls whether SCL is operated in a the I2C standard open-drain mode, or in a non-standard push-pull mode where the Hi-Z output isreplaced with Drive-1. The non-standard mode should only be used when operating as a master and communicating with slaves that are guaranteed to never drive SCL low. 0 (dis): Standard open-drain operation: drive low for 0, Hi-Z for 1 1 (en): Non-standard push-pull operation: drive low for 0, drive high for 1 |
HSMODE | Hs-mode Enable. 0 (dis): Hs-mode disabled. 1 (en): Hs-mode enabled. |