Register 10: CAN IF1 Command Mask (CANIF1CMSK), offset 0x024
Register 11: CAN IF2 Command Mask (CANIF2CMSK), offset 0x084
Reading the Command Mask registers provides status for various functions. Writing to the Command
Mask registers specifies the transfer direction and selects which buffer registers are the source or
target of the data transfer.
Note that when a read from the message object buffer occurs when the
WRNRD
bit is clear and the
CLRINTPND
and/or
NEWDAT
bits are set, the interrupt pending and/or new data flags in the message
object buffer are cleared.
CAN IFn Command Mask (CANIFnCMSK)
CAN0 base: 0x4004.0000
CAN1 base: 0x4004.1000
Offset 0x024
Type RW, reset 0x0000.0000
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
reserved
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DATAB
DATAA
NEWDA
T
/
TXRQST
CLRINTPND
CONTROL
ARB
MASK
WRNRD
reserved
RW
RW
RW
RW
RW
RW
RW
RW
RO
RO
RO
RO
RO
RO
RO
RO
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
Description
Reset
Type
Name
Bit/Field
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x0000.00
RO
reserved
31:8
Write, Not Read
Description
Value
Transfer the data in the CAN message object specified by
the
MNUM
field in the
CANIFnCRQ
register into the
CANIFn
registers.
0
Transfer the data in the
CANIFn
registers to the CAN
message object specified by the
MNUM
field in the
CAN
Command Request (CANIFnCRQ)
.
1
Note:
Interrupt pending and new data conditions in the message
buffer can be cleared by reading from the buffer (
WRNRD
= 0)
when the
CLRINTPND
and/or
NEWDAT
bits are set.
0
RW
WRNRD
7
Access Mask Bits
Description
Value
Mask bits unchanged.
0
Transfer
IDMASK
+
DIR
+
MXTD
of the message object
into the Interface registers.
1
0
RW
MASK
6
June 18, 2014
1390
Texas Instruments-Production Data
Controller Area Network (CAN) Module