19 can message control register – Rainbow Electronics AT91CAP9S250A User Manual
Page 736

736
6264A–CAP–21-May-07
AT91CAP9S500A/AT91CAP9S250A
39.8.19
CAN Message Control Register
Name:
CAN_MCRx
Access Type:
Write-only
• MDLC: Mailbox Data Length Code
• MRTR: Mailbox Remote Transmission Request
Consumer situations can be handled automatically by setting the mailbox object type in Consumer. This requires only one
mailbox.
It can also be handled using two mailboxes, one in reception, the other in transmission. The MRTR and the MTCR bits
must be set in the same time.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
MTCR
MACR
–
MRTR
MDLC
15
14
13
12
11
10
9
8
–
–
–
–
–
–
–
–
7
6
5
4
3
2
1
0
–
–
–
–
–
–
–
–
Mailbox Object Type
Description
Receive
No action.
Receive with overwrite
No action.
Transmit
Length of the mailbox message.
Consumer
No action.
Producer
Length of the mailbox message to be sent after the remote frame reception.
Mailbox Object Type
Description
Receive
No action
Receive with overwrite
No action
Transmit
Set the RTR bit in the sent frame
Consumer
No action, the RTR bit in the sent frame is set automatically
Producer
No action