Datasheet

SAM9263 [DATASHEET]
Atmel-6249N-ATARM-SAM9263-Datasheet_14-Mar-16
680
36.8.16 CAN Message Status Register
Name: CAN_MSRx [x=0..15]
Address: 0xFFFAC210 [0], 0xFFFAC230 [1], 0xFFFAC250 [2], 0xFFFAC270 [3], 0xFFFAC290 [4], 0xFFFAC2B0 [5],
0xFFFAC2D0 [6], 0xFFFAC2F0 [7], 0xFFFAC310 [8], 0xFFFAC330 [9], 0xFFFAC350 [10],
0xFFFAC370 [11], 0xFFFAC390 [12], 0xFFFAC3B0 [13], 0xFFFAC3D0 [14], 0xFFFAC3F0 [15]
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.
MRDY, MABT are cleared by writing MTCR or MACR in the CAN_MCRx.
Warning: MRTR and MDLC state depends partly on the mailbox object type.
MTIMESTAMPx: Timer value
This field is updated only when time-triggered operations are disabled (TTM cleared in CAN_MR). If the TEOF field in the
CAN_MR 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 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
MTIMESTAMP15MTIMESTAMP14MTIMESTAMP13MTIMESTAMP12MTIMESTAMP11MTIMESTAMP10 MTIMESTAMP9 MTIMESTAMP8
76543210
MTIMESTAMP7 MTIMESTAMP6 MTIMESTAMP5 MTIMESTAMP4 MTIMESTAMP3 MTIMESTAMP2 MTIMESTAMP1 MTIMESTAMP0
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.