38.6.1.1 Resetting the TEF
TEF can be reset by:
- Setting FRESET (CxTEFCON[10]) or
- Placing the module in
Configuration mode (OPMOD[2:0] =
100
).
Resetting the FIFO will reset the head and tail pointers and the CxTEFSTA register. The settings in the CxTEFCON register will not change.
Byte | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|---|
0 | SID[7:0] | |||||||
1 | EID[4:0] | SID[10:8] | ||||||
2 | EID[12:5] | |||||||
3 | - | - | - | EID[17:13] | ||||
4 | - | - | RTR | IDE | DLC[3:0] | |||
5 | SEQ[6:0] | ESI | ||||||
6 | SEQ[14:7] | |||||||
7 | SEQ[22:15] | |||||||
8 | TXMSGTS[7:0] | |||||||
9 | TXMSGTS[15:8] | |||||||
10 | TXMSGTS[23:16] | |||||||
11 | TXMSGTS[31:24] |
SID[10:0]: Standard Identifier bits
EID[17:0]: Extended Identifier bits
RTR: Remote Transmission Request bit
IDE: Identifier Extension bit - distinguishes between base and extended format.
DLC[3:0]: Data Length Code bits
SEQ[22:0]: Bits 22-0 of the sequence to keep track of transmitted messages in Transmit Event FIFO
TXMSGTS[31:0]: Transmit Message Timestamp bits
Note:
- (TXMSGTS[31:0]) only exist in objects where TEFTSEN (CxTEFCON[5]) is set.