I2C0
Register Listing for I2C0
Register |
Address |
|---|---|
I2C0_PHY_SPEED_MODE |
0xf0009000 |
I2C0_MASTER_ACTIVE |
0xf0009004 |
I2C0_MASTER_SETTINGS |
0xf0009008 |
I2C0_MASTER_ADDR |
0xf000900c |
I2C0_MASTER_RXTX |
0xf0009010 |
I2C0_MASTER_STATUS |
0xf0009014 |
I2C0_PHY_SPEED_MODE
Address: 0xf0009000 + 0x0 = 0xf0009000
I2C0_MASTER_ACTIVE
Address: 0xf0009000 + 0x4 = 0xf0009004
I2C0_MASTER_SETTINGS
Address: 0xf0009000 + 0x8 = 0xf0009008
I2C transfer settings
Field |
Name |
Description |
|---|---|---|
[2:0] |
LEN_TX |
I2C tx Xfer length (in bytes). Set to a value greater then 4 to anounce more data has to be transmitted. |
[10:8] |
LEN_RX |
I2C rx Xfer length (in bytes). Set to a value greater then 4 to anounce more data has to be received. |
[16] |
RECOVER |
I2C recover bus. If set, the I2C bus will be recovered. |
I2C0_MASTER_ADDR
Address: 0xf0009000 + 0xc = 0xf000900c
I2C0_MASTER_RXTX
Address: 0xf0009000 + 0x10 = 0xf0009010
I2C0_MASTER_STATUS
Address: 0xf0009000 + 0x14 = 0xf0009014
Field |
Name |
Description |
|---|---|---|
[0] |
TX_READY |
TX FIFO is not full. |
[1] |
RX_READY |
RX FIFO is not empty. |
[8] |
NACK |
Error on transfer. |
[16] |
TX_UNFINISHED |
Another tx transfer is expected. |
[17] |
RX_UNFINISHED |
Another rx transfer is expected. |