Datasheet
946
SAM9X25 [DATASHEET]
11054E–ATARM–10-Mar-2014
41.9.18 CAN Message Status Register
Name: CAN_MSRx [x=0..7]
Address: 0xF8000210 (0)[0], 0xF8000230 (0)[1], 0xF8000250 (0)[2], 0xF8000270 (0)[3], 0xF8000290 (0)[4],
0xF80002B0 (0)[5], 0xF80002D0 (0)[6], 0xF80002F0 (0)[7], 0xF8004210 (1)[0], 0xF8004230 (1)[1], 0xF8004250 (1)[2],
0xF8004270 (1)[3], 0xF8004290 (1)[4], 0xF80042B0 (1)[5], 0xF80042D0 (1)[6], 0xF80042F0 (1)[7]
Access: Read-only
These register fields are updated each time a message transfer is received or aborted.
MMI is cleared by reading the CAN_MSRx register.
MRDY, MABT are cleared by writing MTCR or MACR in the CAN_MCRx register.
Warning: MRTR and MDLC state depends partly on the mailbox object type.
• MTIMESTAMP: Timer value
This field is updated only when time-triggered operations are disabled (TTM cleared in CAN_MR register). If the TEOF field in the
CAN_MR register is cleared, TIMESTAMP is the internal timer value at the start of frame of the last message received or sent by
the mailbox. If the TEOF field in the CAN_MR register is set, TIMESTAMP is the internal timer value at the end of frame of the last
message received or sent by the mailbox.
In Time Triggered Mode, MTIMESTAMP is set to 0.
• MDLC: Mailbox Data Length Code
• MRTR: Mailbox Remote Transmission Request
31 30 29 28 27 26 25 24
–––––––
MMI
23 22 21 20 19 18 17 16
MRDY MABT – MRTR MDLC
15 14 13 12 11 10 9 8
MTIMESTAMP
76543210
MTIMESTAMP
Mailbox Object Type Description
Receive Length of the first mailbox message received
Receive with overwrite Length of the last mailbox message received
Transmit No action
Consumer Length of the mailbox message received
Producer Length of the mailbox message to be sent after the remote frame reception
Mailbox Object Type Description
Receive The first frame received has the RTR bit set.
Receive with overwrite The last frame received has the RTR bit set.
Transmit Reserved
Consumer Reserved. After setting the MOT field in the CAN_MMR, MRTR is reset to 1.
Producer Reserved. After setting the MOT field in the CAN_MMR, MRTR is reset to 0.