16.9.15.4 Mailbox Interrupt Level Register (CANMIL)
Each of the 32 mailboxes may initiate an interrupt on one of the two interrupt lines. Depending on the setting
in the mailbox interrupt level register (CANMIL), the interrupt is generated on ECAN0INT (MIL
n
= 0) or on line
ECAN1INT (MIL[
n
] = 1).
Figure 16-28. Mailbox Interrupt Level Register (CANMIL)
31
0
MIL.31:0
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 16-24. Mailbox Interrupt Level Register (CANMIL) Field Descriptions
Bit
Field
Value
Description
31:0
MIL.31:0
Mailbox interrupt level. These bits allow any mailbox interrupt level to be selected individually.
1
The mailbox interrupt is generated on interrupt line 1.
0
The mailbox interrupt is generated on interrupt line 0.
16.9.16 Overwrite Protection Control Register (CANOPC)
If there is an overflow condition for mailbox n (RMP[
n
] is set to 1 and a new receive message would fit for
mailbox n), the new message is stored depending on the settings in the CANOPC register. If the corresponding
bit OPC[
n
] is set to 1, the old message is protected against being overwritten by the new message; thus, the
next mailboxes are checked for a matching ID. If no other mailbox is found, the message is lost without further
notification. If the bit OPC[
n
] is cleared to 0, the old message is overwritten by the new one. This is notified by
setting the receive message lost bit RML[
n
].
For read/write operations, only 32-bit access is supported.
Figure 16-29. Overwrite Protection Control Register (CANOPC)
31
0
OPC.31:0
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 16-25. Overwrite Protection Control Register (CANOPC) Field Descriptions
Bit
Field
Value
Description
31:0
OPC.31:0
Overwrite protection control bits
1
1 If the bit OPC[
n
] is set to 1, an old message stored in that mailbox is protected against being
overwritten by the new message.
0
0 If the bit OPC[
n
] is not set, the old message can be overwritten by a new one.
Controller Area Network (CAN)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
1045
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......