Expand description
Describe I2C work status.
Structs§
- SR_SPEC
- Describe I2C work status.
Type Aliases§
- ARB_
LOST_ R - Field
ARB_LOST
reader - When the I2C controller loses control of SCL line, this register changes to 1. - BUS_
BUSY_ R - Field
BUS_BUSY
reader - 1: the I2C bus is busy transferring data, 0: the I2C bus is in idle state. - R
- Register
SR
reader - RESP_
REC_ R - Field
RESP_REC
reader - The received ACK value in master mode or slave mode. 0: ACK, 1: NACK. - RXFIFO_
CNT_ R - Field
RXFIFO_CNT
reader - This field represents the amount of data needed to be sent. - SCL_
MAIN_ STATE_ LAST_ R - Field
SCL_MAIN_STATE_LAST
reader - This field indicates the states of the I2C module state machine. 0: Idle, 1: Address shift, 2: ACK address, 3: Rx data, 4: Tx data, 5: Send ACK, 6: Wait ACK - SCL_
STATE_ LAST_ R - Field
SCL_STATE_LAST
reader - This field indicates the states of the state machine used to produce SCL. 0: Idle, 1: Start, 2: Negative edge, 3: Low, 4: Positive edge, 5: High, 6: Stop - TXFIFO_
CNT_ R - Field
TXFIFO_CNT
reader - This field stores the amount of received data in RAM.