![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 409](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630409.webp)
www.geehy.com Page 408
Field
Name
R/W
Description
8
ERRWIEN
R/W
Error Warning Interrupt Enable
When ERRWFLG bit is set to 1, an error warning will occur; if this bit
is set to 1, ERRIFLG shall be set and a warning error interrupt will be
generated.
0: ERRIFLG bit is not set
1: ERRIFLG bit is set to 1
9
ERRPIEN
R/W
Error Passive Interrupt Enable
When ERRPFLG bit is set to 1, a pssive error will occur; if this bit is
set to 1, ERRIFLG shall be set and a passive error interrupt will be
generated.
0: ERRIFLG bit is not set
1: ERRIFLG bit is set to 1
10
BOFFIEN
R/W
Bus-Off Interrupt Enable
When BOFFFLG bit is set to 1, bus-line will occur; if this bit is set to
1, ERRIFLG shall be set and an bus-line error interrupt will be
generated.
0: ERRIFLG bit is not set
1: ERRIFLG bit is set to 1
11
LECIEN
R/W
Last Error Code Interrupt Enable
When an error is detected and the hardware sets LERRC [2:0], the
last error code is recorded. If this bit set to 1, the ERRIFLG is set to
generate the last error interrupt.
0: ERRIFLG bit is not set
1: ERRIFLG bit is set to 1
14:12
Reserved
15
ERRIEN
R/W
Error interrupt Enable
When the corresponding error state register is set to 1, if this bit is set
to 1, an error interrupt will be generated.
0: No interrupt
1: Interrupt generated
16
WUPIEN
R/W
Wakeup Interrupt Enable
When WUPINT bit is set to 1, if this bit is set to 1, a wake-up interrupt
will be generated.
0: No interrupt
1: Interrupt generated
17
SLEEPIEN
R/W
Sleep Interrupt Enable
When SLEEPIFLG bit is set to 1, if this bit is set to 1, a sleep interrupt
will be generated.
0: No interrupt
1: Interrupt generated
31:18
Reserved
CAN error state register (CAN_ERRSTS)
Offset address: 0x18
Reset value: 0x0000 0000