BAT32G1x9 user manual | Chapter 22 CAN control
918 / 1149
Rev.1.02
22.7.24
CAN message control register m (CnMCTRLm).
The CnMCTRLm register is used to control the operation of the packet buffer.
Figure 22-49. CAN
message control register
m
format
(CnMCTRLm) (1/3).
Reset Value:000xx000B
R/W
(a) read
(b)
15
14
13
12
11
10
9
8
CnMCTRLm
0
0
MUC
0
0
0
0
0
7
6
5
4
3
2
1
0
0
0
0
MOW
IE
DN
TRQ
RDY
(c) write
15
14
13
12
11
10
9
8
CnMCTRLm
0
0
0
0
Set
IE
0
Set
TRQ
Set
RDY
7
6
5
4
3
2
1
0
0
0
0
Clear
MOW
Clear
IE
Clear
DN
Clear
TRQ
Clear
RDY
(a) read
MUC
Note
Message cache data update bits
0
The CAN module has not updated the message buffer (receive and store)
1
The CAN module is updating the message buffer (receive and store).
Note The MUC bit is undefined until the first receive and store is made
MOW
Message caching overrides the status bit
0
Newly received data frames do not overwrite the packet buffer
1
The newly received data frame overwrites the packet buffer
Note Even if a remote frame is received and stored in the transmit message cache, the DN is equal to 1
and the MOW bit is not set to 1.
.
IE
Packet caching interrupts the request enable bit
0
Receive Packet Buffer: Valid Packet Receive Completion Interrupt disabled.
Transmit packet buffer: Normal packet transfer completion interrupt is disabled.
1
Receive Packet Buffer: Valid packet receive completion interrupt enabled.
Transmit packet buffer: Normal packet transfer completion interrupt is enabled.
Note m = 0 to
15