38.13.22 CxTXQSTA
Note:
- The individual bytes in this
multibyte register can be accessed with the following register names:
- CxTXQSTAT: Accesses the top byte TXQSTA[31:24]
- CxTXQSTAU: Accesses the upper byte TXQSTA[23:16]
- CxTXQSTAH: Accesses the high byte TXQSTA[15:8]
- CxTXQSTAL: Accesses the low byte TXQSTA[7:0]
- The TXQCI[4:0] bits give a
zero-indexed value to the message in the TXQ. IF the TXQ is four messages
deep (FSIZE =
3
), TXQCIx will take on a value of0
to3
, depending on the state of the TXQ. - These bits are updated when a message completes (or aborts) or when the TXQ is reset.
Name: | CxTXQSTA |
Offset: | 0x0154 |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
TXQCI[4:0] | |||||||||
Access | R | R | R | R | R | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
TXABT | TXLARB | TXERR | TXATIF | TXQEIF | TXQNIF | ||||
Access | R | R | R | HS/C | R | R | |||
Reset | 0 | 0 | 0 | 0 | 1 | 1 |
Bits 12:8 – TXQCI[4:0] Transmit Queue Message Index(2)
Bit 7 – TXABT Message Aborted Status(3)
Value | Description |
---|---|
1 | Message was aborted |
0 | Message completed successfully |
Bit 6 – TXLARB Message Lost Arbitration Status(3)
Value | Description |
---|---|
1 | Message lost arbitration while being sent |
0 | Message did not lose arbitration while being sent |
Bit 5 – TXERR Error Detected During Transmission(3)
Value | Description |
---|---|
1 | A bus error occurred while the message was being sent |
0 | A bus error did not occur while the message was being sent |
Bit 4 – TXATIF Transmit Attempts Exhausted Interrupt Pending
Value | Description |
---|---|
1 | Interrupt is pending |
0 | Interrupt is not pending |
Bit 2 – TXQEIF Transmit Queue Empty Interrupt Flag
Value | Description |
---|---|
1 | TXQ is empty |
0 | TXQ is not empty, at least one message is queued to be transmitted |
Bit 0 – TXQNIF Transmit Queue Not Full Interrupt Flag
Value | Description |
---|---|
1 | TXQ is not full |
0 | TXQ is full |