![Texas Instruments SimpleLink Ethernet MSP432E401Y Скачать руководство пользователя страница 815](http://html1.mh-extra.com/html/texas-instruments/simplelink-ethernet-msp432e401y/simplelink-ethernet-msp432e401y_technical-reference-manual_1095578815.webp)
CAN Registers
815
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Controller Area Network (CAN) Module
11.4.9 CANIFnCMSK Register [reset = 0x0]
CAN IF1 Command Mask (CANIF1CMSK), offset 0x024
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 or NEWDAT bits are set, the interrupt pending or new data flags in the message object
buffer are cleared.
CANIFnCMSK is shown in
and described in
Return to
Figure 11-13. CANIFnCMSK Register
31
30
29
28
27
26
25
24
RESERVED
R-0x0
23
22
21
20
19
18
17
16
RESERVED
R-0x0
15
14
13
12
11
10
9
8
RESERVED
R-0x0
7
6
5
4
3
2
1
0
WRNRD
MASK
ARB
CONTROL
CLRINTPND
NEWDAT /
TXRQST
DATAA
DATAB
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
Table 11-16. CANIFnCMSK Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
RESERVED
R
0x0
7
WRNRD
R/W
0x0
Write, Not Read. Interrupt pending and new data conditions in the
message buffer can be cleared by reading from the buffer (WRNRD
= 0) when the CLRINTPND or NEWDAT bits are set.
0x0 = Transfer the data in the CAN message object specified by the
MNUM field in the CANIFnCRQ register into the CANIFn registers.
0x1 = Transfer the data in the CANIFn registers to the CAN
message object specified by the MNUM field in the CAN Command
Request (CANIFnCRQ).
6
MASK
R/W
0x0
Access Mask Bits.
0x0 = Mask bits unchanged.
0x1 = Transfer DIR + MXTD of the message object into
the Interface registers.
5
ARB
R/W
0x0
Access Arbitration Bits.
0x0 = Arbitration bits unchanged.
0x1 = Transfer ID + DIR + XTD + MSGVAL of the message object
into the Interface registers.
4
CONTROL
R/W
0x0
Access Control Bits.
0x0 = Control bits unchanged.
0x1 = Transfer control bits from the CANIFnMCTL register into the
Interface registers.