GD32F20x User Manual
770
1
RFNEIE0
Receive FIFO0 not empty interrupt enable
0: Receive FIFO0 not empty interrupt disable
1: Receive FIFO0 not empty interrupt enable
0
TMEIE
Transmit mailbox empty interrupt enable
0: Transmit mailbox empty interrupt disable
1: Transmit mailbox empty interrupt enable
26.4.7.
Error register (CAN_ERR)
Address offset: 0x18
Reset value: 0x0000 0000
This register has to be accessed by word(32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RECNT[7:0]
TECNT[7:0]
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reserved
ERRN[2:0]
Reserved BOERR
PERR
WERR
rw
r
r
r
Bits
Fields
Descriptions
31:24
RECNT[7:0]
Receive Error Count defined by the CAN standard
23:16
TECNT[7:0]
Transmit Error Count defined by the CAN standard
15:7
Reserved
Must be kept at reset value
6:4
ERRN[2:0]
Error number
These bits indicate the error status of bit transformation. They are updated by the
hardware. While the bit transformation is successful, they are equal to 0. Software
can set these bits to 0b111.
000: No Error
001: Stuff Error
010: Form Error
011: Acknowledgment Error
100: Bit recessive Error
101: Bit dominant Error
110: CRC Error
111: Set by software
3
Reserved
Must be kept at reset value
2
BOERR
Bus-off error
Whenever the CAN enters bus-off state, the bit will be set by the hardware. The
bus-off state is entered on TECNT overflow, greater than 255.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...