This section provides information on the I2C Module Instance within this product. Each of the registers within the Module Instance is described separately below.
I2C module with DMA and FIFO capabilites INTERNAL_NOTE: [Functional Specification](https://confluence.itg.ti.com/display/WNG/Mx+I2C)
|
Register Name |
Type |
Register Width (Bits) |
Register Reset |
Address Offset |
|
RW |
32 |
0x0000 0000 |
0x0000 0100 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0104 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0108 |
|
|
RO |
32 |
0x0000 0020 |
0x0000 010C |
|
|
RW |
32 |
0x0000 0001 |
0x0000 0110 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0114 |
|
|
RO |
32 |
0x0000 0003 |
0x0000 0118 |
|
|
RW |
32 |
0x0000 4000 |
0x0000 011C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0120 |
|
|
RW |
32 |
0x0000 0004 |
0x0000 0124 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0128 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 012C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0130 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0134 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0138 |
|
|
RO |
32 |
0x0000 0800 |
0x0000 013C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0140 |
|
|
RW |
32 |
0x0000 0003 |
0x0000 0000 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0004 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0008 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 000C |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0010 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0014 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 0018 |
|
|
WO |
32 |
0x0000 0000 |
0x0000 001C |
|
|
RW |
32 |
0x0000 0001 |
0x0000 0020 |
|
|
RO |
32 |
0x1511 0010 |
0x0000 0024 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1000 |
|
Address offset |
0x0000 0100 |
||
|
Description |
This register controls the glitch filter on the SCL and SDA lines |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:4 |
RESERVED4 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
3:0 |
GFSEL |
Glitch suppression pulse width |
RW |
0x0 |
||
|
|
|
0x0 |
DIS |
|
||
|
|
|
0x1 |
CLK_1 |
|
||
|
|
|
0x2 |
CLK_2 |
|
||
|
|
|
0x3 |
CLK_3 |
|
||
|
|
|
0x4 |
CLK_4 |
|
||
|
|
|
0x5 |
CLK_5 |
|
||
|
|
|
0x6 |
CLK_6 |
|
||
|
|
|
0x7 |
CLK_7 |
|
||
|
|
|
0x8 |
CLK_8 |
|
||
|
|
|
0x9 |
CLK_9 |
|
||
|
|
|
0xA |
CLK_A |
|
||
|
|
|
0xB |
CLK_B |
|
||
|
|
|
0xC |
CLK_C |
|
||
|
|
|
0xD |
CLK_D |
|
||
|
|
|
0xE |
CLK_E |
|
||
|
|
|
0xF |
CLK_F |
|
||
|
Address offset |
0x0000 0104 |
||
|
Description |
Controller target address register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED16 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15 |
CMODE |
This field selects the addressing mode(7-field/10-field) to be used in controller mode |
RW |
0 |
||
|
|
|
0 |
SEVEN_BIT |
|
||
|
|
|
1 |
TEN_BIT |
|
||
|
14:11 |
RESERVED11 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
10:1 |
TADDR |
*I2C* Target Address This field specifies bits A9 through A0 of the target address. |
RW |
0x000 |
||
|
|
|
0x000 |
MINIMUM |
|
||
|
|
|
0x3FF |
MAXIMUM |
|
||
|
0 |
DIR |
This field specifies if the next controller operation is a Receive or Transmit |
RW |
0 |
||
|
|
|
0 |
TRANSMIT |
|
||
|
|
|
1 |
RECEIVE |
|
||
|
Address offset |
0x0000 0108 |
||
|
Description |
This control register configures the *I2C* controller operation. The START field generates the START or REPEATED START condition. The STOP field determines if the cycle stops at the end of the data cycle or continues to the next transfer cycle, which could be a repeated START. To generate a single transmit cycle, the *I2C* Controller Target Address [CSA] register is written with the desired address, the RS field is cleared, and this register is written with ACK = X (0 or 1), STOP = 1, START = 1, and RUN = 1 to perform the operation and stop. When the operation is completed (or aborted due an error), an byte transaction completed interrupt becomes active and the data may be read from the RXDATA register. When the I2C module operates in Controller receiver mode, a set ACK field causes the I2C bus controller to transmit an acknowledge automatically after each byte. This field must be cleared when the *I2C* bus controller requires no further data to be transmitted from the target |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27:16 |
MBLEN |
Transaction length |
RW |
0x000 |
||
|
|
|
0x000 |
MINIMUM |
|
||
|
|
|
0xFFF |
MAXIMUM |
|
||
|
15:6 |
RESERVED6 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
5 |
RDONTXEMPTY |
Read on TXFIFO empty |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
4 |
CACKOEN |
Controller ACK overrride enable |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
3 |
ACK |
Data Acknowledge Enable. Configure this field to send the ACK or NACK. |
RW |
0 |
||
|
|
|
0 |
DIS_ACK |
|
||
|
|
|
1 |
EN_ACK |
|
||
|
2 |
STOP |
Generate STOP |
RW |
0 |
||
|
|
|
0 |
DIS_STOP |
|
||
|
|
|
1 |
EN_STOP |
|
||
|
1 |
START |
Generate START |
RW |
0 |
||
|
|
|
0 |
DIS_START |
|
||
|
|
|
1 |
EN_START |
|
||
|
0 |
BURSTRUN |
Controller enable and start transaction |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 010C |
||
|
Description |
The status register indicates the state of the bus controller. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27:16 |
CBCNT |
Controller Transaction Count |
RO |
0x000 |
||
|
|
|
Read 0x000 |
MINIMUM |
|
||
|
|
|
Read 0xFFF |
MAXIMUM |
|
||
|
15:7 |
RESERVED7 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
6 |
BUSBSY |
Bus is busy |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
IDLE |
*I2C* Idle |
RO |
1 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
4 |
ARBLST |
Arbitration lost |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
3 |
DATACK |
Acknowledge data |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
ADRACK |
Acknowledge address |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
ERR |
Error |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
BUSY |
Controller FSM busy |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 0110 |
||
|
Description |
This register is programmed to set the timer period for the SCL clock and assign the SCL clock to standard mode. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:7 |
RESERVED7 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 0000 |
||
|
6:0 |
TPR |
Timer Period |
RW |
0x01 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0x7F |
MAXIMUM |
|
||
|
Address offset |
0x0000 0114 |
||
|
Description |
Controller configuration register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:9 |
RESERVED9 |
Reads to this field return zero.Writes to this field are ignored. |
RO |
0x00 0000 |
||
|
8 |
LPBK |
I2C Loopback |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7:3 |
RESERVED3 |
Reads to this field return zero.Writes to this field are ignored. |
RO |
0x00 |
||
|
2 |
CLKSTRETCH |
Clock Stretching. This field controls the support for clock stretching of the *I2C* bus. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
MCST |
Multicontroller mode. In Multicontroller mode the SCL high time counts once the SCL line has been detected high. If this is not enabled the high time counts as soon as the SCL line has been set high by the *I2C* controller. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
ACTIVE |
Device Active After this field has been set, it should not be set again unless it has been cleared by writing a 0 or by a reset, otherwise transfer failures may occur. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0118 |
||
|
Description |
This register is used to determine the SCL and SDA signal status. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED3 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1 |
SDA |
SDA status |
RO |
1 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
SCL |
SCL status |
RO |
1 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 011C |
||
|
Description |
This register consists of seven address bits that identify the I2C device on the I2C bus. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED16 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15 |
MODE |
This field selects the addressing mode(7-field/10-field) to be used in target mode. |
RW |
0 |
||
|
|
|
0 |
SEVEN_BIT |
|
||
|
|
|
1 |
TEN_BIT |
|
||
|
14 |
OAREN |
Target own address enable |
RW |
1 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
13:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
9:0 |
OAR |
Target own address: This field specifies bits A9 through A0 of the target address. |
RW |
0x000 |
||
|
|
|
0x000 |
MINIMUM |
|
||
|
|
|
0x3FF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0120 |
||
|
Description |
This register consists of seven address bits that identify the alternate address for the *I2C* device on the *I2C* bus. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:23 |
RESERVED23 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
22:16 |
OAR2_MASK |
Target own address 2 mask: This field specifies bits A6 through A0 of the target address. |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0x7F |
MAXIMUM |
|
||
|
15:8 |
RESERVED8 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
7 |
OAR2EN |
Target own address 2 enable |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
6:0 |
OAR2 |
Target own address 2 |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0x7F |
MAXIMUM |
|
||
|
Address offset |
0x0000 0124 |
||
|
Description |
Target control register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
9 |
ENDEFDEVADR |
Enable default device address |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
ENALRESPADR |
Enable alert response address |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
RESERVED7 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
6 |
RXFULLONRREQ |
Rx full interrupt generated based on [TSR.RREQ] filed. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
5 |
TXWAITSTALETXFIFO |
Tx transfer waits when stale data in Tx FIFO. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
4 |
TXTRIGXMODE |
Tx trigger when target FSM is in TX mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
3 |
TXEMPTYONTREQ |
Tx Empty Interrupt on TREQ |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
2 |
CLKSTRETCH |
Target clock stretch enable |
RW |
1 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
GENCALL |
General call response enable. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
ACTIVE |
Device active. Setting this field enables the target functionality. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0128 |
||
|
Description |
Target status register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:19 |
RESERVED19 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
18:9 |
ADDRMATCH |
Indicates the address for which target address match happened |
RO |
0x000 |
||
|
|
|
Read 0x000 |
MINIMUM |
|
||
|
|
|
Read 0x3FF |
MAXIMUM |
|
||
|
8 |
STALETXFIFO |
Stale TX FIFO |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
7 |
TXMODE |
Target FSM is in TX MODE |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
6 |
BUSBSY |
Bus is busy |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
RESERVED5 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
4 |
RESERVED4 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
3 |
OAR2SEL |
OAR2 address matched |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
RXMODE |
Target FSM is in RX MODE |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
TREQ |
Transmit Request |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
RREQ |
Receive Request |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 012C |
||
|
Description |
RX FIFO read data byte |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
RESERVED8 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7:0 |
VALUE |
Received Data. |
RO |
0x00 |
||
|
|
|
Read 0x00 |
MINIMUM |
|
||
|
|
|
Read 0xFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0130 |
||
|
Description |
Transmit data register. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:8 |
RESERVED8 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 0000 |
||
|
7:0 |
VALUE |
Transmit data |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0xFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0134 |
||
|
Description |
This register enables the target to not acknowledge (NACK) for invalid data or command or acknowledge (ACK) for valid data or command. The *I2C* clock is pulled low after the last data field until this register is written. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:3 |
RESERVED3 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
2 |
ACKOENONSTART |
When set this field will automatically turn on the target ACKOEN field following a start condition. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
ACKOVAL |
Target ACK override Value |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
ACKOEN |
Target ACK override enable |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0138 |
||
|
Description |
Target FIFO control |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED16 |
Reads to this field return zero.Writes to this field are ignored. |
RO |
0x0000 |
||
|
15 |
RXFLUSH |
RX FIFO flush |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
14:11 |
RESERVED11 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
10:8 |
RXTRIG |
RX FIFO trigger |
RW |
0x0 |
||
|
|
|
0x0 |
LEVEL_1 |
|
||
|
|
|
0x1 |
LEVEL_2 |
|
||
|
|
|
0x2 |
LEVEL_3 |
|
||
|
|
|
0x3 |
LEVEL_4 |
|
||
|
|
|
0x4 |
LEVEL_5 |
|
||
|
|
|
0x5 |
LEVEL_6 |
|
||
|
|
|
0x6 |
LEVEL_7 |
|
||
|
|
|
0x7 |
LEVEL_8 |
|
||
|
7 |
TXFLUSH |
TX FIFO flush |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
6:3 |
RESERVED3 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
2:0 |
TXTRIG |
TX FIFO trigger |
RW |
0x0 |
||
|
|
|
0x0 |
EMPTY |
|
||
|
|
|
0x1 |
LEVEL_1 |
|
||
|
|
|
0x2 |
LEVEL_2 |
|
||
|
|
|
0x3 |
LEVEL_3 |
|
||
|
|
|
0x4 |
LEVEL_4 |
|
||
|
|
|
0x5 |
LEVEL_5 |
|
||
|
|
|
0x6 |
LEVEL_6 |
|
||
|
|
|
0x7 |
LEVEL_7 |
|
||
|
Address offset |
0x0000 013C |
||
|
Description |
FIFO status register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RESERVED16 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15 |
TXFLUSH |
TX FIFO flush |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
14:12 |
RESERVED12 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
11:8 |
TXFIFOCNT |
Number of bytes which could be put into the TX FIFO |
RO |
0x8 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0x8 |
MAXIMUM |
|
||
|
7 |
RXFLUSH |
RX FIFO flush |
RO |
0 |
||
|
|
|
Read 0 |
CLEAR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
6:4 |
RESERVED4 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
3:0 |
RXFIFOCNT |
Number of bytes which could be read from the RX FIFO |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0x8 |
MAXIMUM |
|
||
|
Address offset |
0x0000 0140 |
||
|
Description |
Register for the selection of divider value to generate functional clock from SVT clock |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:4 |
RESERVED4 |
|
RO |
0x000 0000 |
||
|
3:0 |
FCLKDIV |
Divider value selection |
RW |
0x0 |
||
|
|
|
0x0 |
BY_1 |
|
||
|
|
|
0x1 |
BY_2 |
|
||
|
|
|
0x2 |
BY_4 |
|
||
|
|
|
0x3 |
BY_5 |
|
||
|
|
|
0x4 |
BY_8 |
|
||
|
|
|
0x5 |
BY_10 |
|
||
|
|
|
0x6 |
BY_16 |
|
||
|
|
|
0x7 |
BY_20 |
|
||
|
|
|
0x8 |
BY_25 |
|
||
|
|
|
0x9 |
BY_32 |
|
||
|
|
|
0xA |
BY_40 |
|
||
|
|
|
0xB |
BY_80 |
|
||
|
Address offset |
0x0000 0000 |
||
|
Description |
This register can be used by the software developer to control the behavior of the peripheral relative to the 'Core Halted' input |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED2 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1 |
SOFT |
Soft halt boundary control. This function is only available, if FREE is set to 'STOP' |
RW |
1 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
FREE |
Free run control |
RW |
1 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0004 |
||
|
Description |
Interrupt Mask. If a field is set, then corresponding interrupt is masked. Un-masking the interrupt causes the raw interrupt to be visible in [RIS], as well as [MIS]. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
24 |
TGENCALL |
General call interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
23 |
TSTOP |
Stop condition interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the Transmit FIFO in target mode have been shifted out and the transmit goes into idle mode. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
20 |
RXFIFOFULLT |
RX FIFO full event. This interrupt is set if an target RX FIFO is full in target mode. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
18 |
RXFIFOTRGMT |
RX FIFO trigger in target mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
16 |
TRXDONE |
Target receive data interrupt. Signals that a byte has been received |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
15:10 |
RESERVED11 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
7 |
CSTART |
START detection interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
5 |
TXEMPTYC |
TXFIFO empty interrupt in controller mode. This interrupt is set if all data in the TX FIFO in controller mode have been shifted out and the transmit goes into idle mode. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
4 |
RXFIFOFULLC |
RXFIFO full event in controller mode. This interrupt is set if an RX FIFO is full in controller mode. |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
3 |
TXFIFOTRGC |
Transmit FIFO trigger in controller mode |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
2 |
RXFIFOTRGC |
Receive FIFO trigger in controller code |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed Interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
0 |
CRXDONE |
Controller receive transaction completed Interrupt |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||
|
Address offset |
0x0000 0008 |
||
|
Description |
Raw interrupt status. Reflects all pending interrupts, regardless of masking. The RIS register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the [ICLR] register field even if the corresponding [IMASK] field is not enabled. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
24 |
TGENCALL |
General call interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
23 |
TSTOP |
Stop condition interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
22 |
TSTART |
Target start condition interrupt.When the received address matches the target address, this interrupt asserted. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
20 |
RXFIFOFULLT |
RX FIFO full event in target mode. This interrupt is set if an RX FIFO is full in target mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
18 |
RXFIFOTRGT |
RX FIFO trigger in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
16 |
TRXDONE |
Target receive data interrupt. Signals that a byte has been received |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
7 |
CSTART |
START detection interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
TXEMPTYC |
TX FIFO empty interrupt mask in controller mode. This interrupt is set if all data in the TX FIFO in controller mode have been shifted out and the transmit goes into idle mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
4 |
RXFIFOFULLC |
RX FIFO full event in controller mode. This interrupt is set if an RX FIFO is full in controller mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO Trigger in Transmit Mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
CRXDONE |
Controller receive transaction completed interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 000C |
||
|
Description |
Masked interrupt status. This is an AND of the [IMASK] and [RIS] registers. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
26 |
TRX_OVFL |
RX FIFO overflow in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
25 |
TTX_UNFL |
TX FIFO underflow in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
24 |
TGENCALL |
General call interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
23 |
TSTOP |
Target STOP detection interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
20 |
RXFIFOFULLT |
RXFIFO full event in Target mode. This interrupt is set if an RX FIFO is full in target mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
18 |
RXFIFOTRGT |
Target RX FIFO trigger |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
16 |
TRXDONE |
Target receive data interrupt. Signals that a byte has been received |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
7 |
CSTART |
START detection interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
5 |
TXEMPTYC |
TX FIFO Empty interrupt mask in controller mode. This interrupt is set if all data in the TX FIFO in controller mode have been shifted out and the transmit goes into idle mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
4 |
RXFIFOFULLC |
RX FIFO full event. This interrupt is set if the RX FIFO is full in controller mode. |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO trigger in controller mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
0 |
CRXDONE |
Controller receive data interrupt |
RO |
0 |
||
|
|
|
Read 0 |
CLR |
|
||
|
|
|
Read 1 |
SET |
|
||
|
Address offset |
0x0000 0010 |
||
|
Description |
Interrupt set. Allows interrupts to be set by software (useful in diagnostics and safety checks). Writing a 1 to a field in IEN will set the event and therefore the related RIS field also gets set. If the interrupt is enabled through the mask, then the corresponding MIS field is also set. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
24 |
TGENCALL |
General call interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
23 |
TSTOP |
Stop condition interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
20 |
RXFIFOFULLT |
RXFIFO full event in Target mode. This interrupt is set if an RX FIFO is full in Target mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
18 |
RXFIFOTRGT |
RX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed Interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
16 |
TRXDONE |
Target receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
7 |
CSTART |
START detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
5 |
TXEMPTYC |
TX FIFO empty interrupt mask in controller mode. This interrupt is set if all data in the TX FIFO in controller mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
4 |
RXFIFOFULLC |
RXFIFO full event in controller mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
0 |
CRXDONE |
Controller receive data interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
Address offset |
0x0000 0014 |
||
|
Description |
Interrupt clear. Write a 1 to clear corresponding Interrupt. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
24 |
TGENCALL |
General call interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
23 |
TSTOP |
Target STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
20 |
RXFIFOFULLT |
RXFIFO full event in target mode. This interrupt is set if an RX FIFO is full in target mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
18 |
RXFIFOTRGT |
RX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
16 |
TRXDONE |
Target receive data interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
7 |
CSTART |
START detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
5 |
TXEMPTYC |
TX FIFO empty interrupt mask. This interrupt is set if all data in the TX FIFO have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
4 |
RXFIFOFULLC |
RXFIFO full event in controller mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
0 |
CRXDONE |
Controller receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
Address offset |
0x0000 0018 |
||
|
Description |
Interrupt mask set. Writing a 1 to a field in IMEN will set the related IMASK field. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
WO |
0x0 |
||
|
27 |
TARBLOST |
Target srbitration lost |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
24 |
TGENCALL |
General call interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
23 |
TSTOP |
Stop condition interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
21 |
TXEMPTYT |
TX FIFO Empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
20 |
RXFIFOFULLT |
RXFIFO full event in target mode. This interrupt is set if an RX FIFO is full in target mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
19 |
TXFIFOTRGST |
TX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
18 |
RXFIFOTRGT |
RX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
16 |
SRXDONE |
Target receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
7 |
CSTART |
START detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
5 |
TXEMPTYC |
TX FIFO empty interrupt mask in controller mode. This interrupt is set if all data in the TX FIFO in controller mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
4 |
RXFIFOFULLC |
RXFIFO full event in controller mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO trigger in Controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
0 |
CRXDONE |
Controller receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
Address offset |
0x0000 001C |
||
|
Description |
Interrupt clear. Write a 1 to clear corresponding Interrupt. |
||
|
Type |
WO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
RESERVED28 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
TARBLOST |
Target arbitration lost |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
26 |
RX_OVFL_T |
RX FIFO overflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
25 |
TX_UNFL_T |
TX FIFO underflow in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
24 |
TGENCALL |
General call interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
23 |
TSTOP |
Target STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
22 |
TSTART |
Target start condition interrupt. Asserted when the received address matches the target address. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
21 |
TXEMPTYT |
TX FIFO empty interrupt mask in target mode. This interrupt is set if all data in the TX FIFO in target mode have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
20 |
RXFIFOFULLT |
RXFIFO full event in target mode. This interrupt is set if an RX FIFO is full in target mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
19 |
TXFIFOTRGT |
TX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
18 |
RXFIFOTRGT |
RX FIFO trigger in target mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
17 |
TTXDONE |
Target transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
16 |
TRXDONE |
Target receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
15:10 |
RESERVED10 |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
CARBLOST |
Arbitration lost interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
8 |
CSTOP |
STOP detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
7 |
CSTART |
START detection interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
6 |
CNACK |
Address/Data NACK interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
5 |
TXEMPTYC |
TX FIFO empty interrupt mask. This interrupt is set if all data in the TX FIFO have been shifted out and the transmit goes into idle mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
4 |
RXFIFOFULLC |
RX FIFO full event in controller mode. |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
3 |
TXFIFOTRGC |
TX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
2 |
RXFIFOTRGC |
RX FIFO trigger in controller mode |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
1 |
CTXDONE |
Controller transmit transaction completed interrupt |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
0 |
CRXDONE |
Controller receive data interrupt. Signals that a byte has been received |
WO |
0 |
||
|
|
|
Write 0 |
DIS |
|
||
|
|
|
Write 1 |
EN |
|
||
|
Address offset |
0x0000 0020 |
||
|
Description |
Event mode register. It is used to select whether each line is disabled, in software mode (software clears the [RIS]) or in hardware mode (hardware clears the [RIS]) |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
RESERVED2 |
|
RO |
0x0000 0000 |
||
|
1:0 |
INT0_CFG |
Event line mode select for event corresponding to [INT_EVENT0] |
RO |
0x1 |
||
|
|
|
Read 0x0 |
DIS |
|
||
|
|
|
Read 0x1 |
SOFTWARE |
|
||
|
|
|
Read 0x2 |
HARDWARE |
|
||
|
Address offset |
0x0000 0024 |
||
|
Description |
This register identifies the peripheral and its exact version. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
MODULEID |
Module identification contains a unique peripheral identification number. The assignments are maintained in a central database for all of the platform modules to ensure uniqueness. |
RO |
0x1511 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:12 |
FEATUREVER |
Feature Set for the module *instance* |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
11:8 |
INSTNUM |
Instance Number within the device. This will be a parameter to the RTL for modules that can have multiple instances |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
7:4 |
MAJREV |
Major rev of the IP |
RO |
0x1 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
3:0 |
MINREV |
Minor rev of the IP |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
Address offset |
0x0000 1000 |
||
|
Description |
This register controls the bus clock to *I2C* |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
RESERVED1 |
Reads to this field return zero.Writes to this field are ignored. |
RO |
0x0000 0000 |
||
|
0 |
ENABLE |
This field enables or disables the bus clock to *I2C* |
RW |
0 |
||
|
|
|
0 |
DIS |
|
||
|
|
|
1 |
EN |
|
||