I2C_CTRL
Bit Field |
Read/Write |
Field Name |
Description |
---|---|---|---|
9 |
R |
LAST_DATA_STATUS |
I2C last data status |
8 |
R |
ENABLE_STATUS |
I2C enable status |
6 |
W |
LAST_DATA |
Indicate that the current data is the last byte of a data transfer |
5 |
W |
STOP |
Issue a stop condition on the I2C interface bus |
4 |
W |
NACK |
Issue a not acknowledge on the I2C interface bus |
3 |
W |
ACK |
Issue an acknowledge on the I2C interface bus |
2 |
W |
RESET |
Reset the I2C interface |
1 |
W |
DISABLE |
Disable the I2C interface |
0 |
W |
ENABLE |
Enable the I2C interface |
Bit Field |
Field Name |
Value Symbol |
Value Description |
Hex Value |
---|---|---|---|---|
9 |
LAST_DATA_STATUS |
I2C_LAST_DATA_DISABLED |
I2C last data is disabled |
0x0* |
|
|
I2C_LAST_DATA_ENABLED |
I2C last data is enabled |
0x1 |
8 |
ENABLE_STATUS |
I2C_STATUS_DISABLED |
I2C interface is disabled |
0x0* |
|
|
I2C_STATUS_ENABLED |
I2C interface is enabled |
0x1 |
6 |
LAST_DATA |
I2C_LAST_DATA |
Indicate that the current data is the last byte of a data transfer |
0x1 |
5 |
STOP |
I2C_STOP |
Issue a stop condition on the I2C interface bus |
0x1 |
4 |
NACK |
I2C_NACK |
Issue a not acknowledge on the I2C interface bus |
0x1 |
3 |
ACK |
I2C_ACK |
Issue an acknowledge on the I2C interface bus |
0x1 |
|
|
I2C_RESUME |
Resume I2C interface after receiving address ACK/NACK in master read auto ack disable mode |
0x1 |
2 |
RESET |
I2C_RESET |
Reset the I2C interface |
0x1 |
1 |
DISABLE |
I2C_DISABLE |
Disable the I2C interface |
0x1 |
0 |
ENABLE |
I2C_ENABLE |
Enable the I2C interface |
0x1 |