![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 403](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630403.webp)
www.geehy.com Page 402
Reset value: 0x0000 0C02
Field
Name
R/W
Description
0
INITFLG
R
Being Initialization Mode Flag
This bit is set to 1 or cleared by hardware.
1: Exit the initialization mode
1: Being in the initialization mode; this bit is confirmation for
initialization request bit of the CAN_MCTRL register.
1
SLEEPFLG
R
Being Sleep Mode Flag
This bit is set to 1 or cleared by hardware
0: Exit the sleep mode
1: Being in the sleep mode; this bit is confirmation for sleep
moderequest bit of the CAN_MCTRL register.
2
ERRIFLG
RC_W1
Error Interrupt Occur Flag
This bit is set to 1 by hardware and written to 1 and cleared by
software.
0: Not occur
1: Occurred
3
WUPIFLG
RC_W1
Wakeup Interrupt Occur Flag
When entering the sleep mode and detecting SOP wake-up, the bit
is set to 1 by hardware; it is written to 1 and cleared by software.
0: Failed to wake up from the sleep mode
1: Woke up from the sleep mode
4
SLEEPIFLG
RC_W1
Being Sleep Mode Interrupt Flag
When entering the sleep mode, this bit is set to 1 by hardware and
corresponding interrupt will be triggered; when exiting the sleep
mode, this bit is cleared by hardware and is written as 1 and cleared
by software.
0: Failed to enter the sleep mode
1: Entered the sleep mode
7:5
Reserved
8
TXMFLG
R
Being Transmit Mode Flag
0: CAN is not in transmission mode
1: CAN is in transmission mode
9
RXMFLG
R
Being Receive Mode Flag
0: CAN is not in receiving mode
1: CAN is in receiving mode
10
LSAMVALUE
R
CAN Rx Pin Last Sample Value
11
RXSIGL
R
CAN Rx Pin Signal Level
31:12
Reserved
CAN transmitting state register (CAN_TXSTS)
Offset address: 0x08
Reset value: 0x1C00 0000