215
ABOV Semiconductor Co., Ltd.
USI0CR4 (USIn Control Register 4: For I2C mode): DCH/ECH, n = 0, 1
Initial value: 00H
This is an interrupt flag bit for I2C mode. When an interrupt occurs, this bit becomes ‘1’.
This bit is cleared when all interrupt source bits in the USInST2 register are cleared to
“0b”. Writing “1” has no effect.
I2C interrupt no generation
USInSDHR register control bit
Disable USInSDHR register
Interrupt Enable bit for I2C mode
Interrupt from I2C is inhibited (use polling)
Controls ACK signal Generation at ninth SCLn period.
No ACK signal is generated (SDAn =1)
ACK signal is generated (SDAn =0)
NOTE) ACK signal is output (SDA =0) for the following 3 cases.
1. When received address packet equals to USInSLA bits in USInSAR.
2. When received address packet equals to value 0x00 with GCALLn
enabled.
3. When I2C operates as a receiver (master or slave)
Represent operating mode of I2C
When I2C is master, STOP condition generation
STOP condition is to be generated
When I2C is master, START condition generation
START or repeated START condition is to be generated