Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
577
/
631
Bit field
Name
Description
The software can request the CAN to enter the sleep mode by setting this bit, and
once the current CAN activity (sending or receiving messages) ends, the CAN
will enter the sleep mode.
Clear by software to make CAN exit sleep mode.
When the CAN_MCTRL.AWKUM bit is set and the SOF bit is detected in the
CAN Rx signal, the hardware clears this bit.
This bit is set after reset, that is, CAN is in sleep mode after reset.
0
INIRQ
Initialization request
clear this bit by software can make CAN exit from initialization mode: when
CAN leaves Initialization mode and entering normal mode, it needs to detect 11
consecutive recessive bits at the receiving pin, CAN will be synchronized and
ready for receiving and sending data. To this end, the hardware correspondingly
the CAN_MSTS.INIAK bit is cleared.
Setting this bit by software enables CAN to enter initialization mode from normal
operation mode: once the current CAN activity (sending or receiving) is over, the
hardware sets the CAN_MSTS.INIAK bit and CAN enters initialization mode.
CAN master status register (CAN_MSTS)
Address offset: 0x04
Reset value: 0x0000c02
Bit field
Name
Description
31:12
Reserved
Reserved, the reset value must be maintained.
11
RXS
CAN Rx signal
This bit reflects the actual level of the CAN receive pin (CAN_RX).
10
LSMP
Last sample point
The last sampled value of the CAN receive pin (corresponding to the value of the
current receive bit).
9
RXMD
Receive mode
if this bit equals to 1 indicates CAN is currently the receiver.
8
TXMD
Transmit mode
if this bit equals to 1 indicates CAN is currently the transmitter.
7:5
Reserved
Reserved, the reset value must be maintained.
4
SLAKINT
Sleep acknowledge interrupt
When CAN_INTE.SLKITE=1, once CAN enters sleep mode, hardware will set