![ARTERY AT32WB415 Series Reference Manual Download Page 282](http://html1.mh-extra.com/html/artery/at32wb415-series/at32wb415-series_reference-manual_2977599282.webp)
AT32WB415
Series Reference Manual
2022.04.13
Page 282
Ver 2.00
19.7.1.4 CAN receive FIFO 0 register (CAN_RF0)
Bit
Register
Reset value
Type
Description
Bit 31: 6
Reserved
0x0000000
resd
Kept at its default value.
Bit 5
RF0R
0x0
rw1s
Receive FIFO 0 release
0: No effect
1: Release FIFO
Note:
This bit is set by software to release FIFO 0. It is cleared
by hardware when the FIFO 0 is released.
Seting this bit by software has no effect when the FIFO 0
is empty.
If there are more than two messages pending in the FIFO
0, the software has to release the FIFO 0 to access the
second message.
Bit 4
RF0OF
0x0
rw1c
Receive FIFO 0 overflow flag
0: No overflow
1: Receive FIFO 0 overflow
Note:
This bit is set by hardware when a new message has been
received and passed the filter while the FIFO 0 is full.
It is cleared by software by writing 1.
Bit 3
RF0FF
0x0
rw1c
Receive FIFO 0 full flag
0: Receive FIFO 0 is not full
1: Receive FIFO 0 is full
Note:
This bit is set by hardware when three messages are
pending in the FIFO 0.
It is cleared by software by writing 1.
Bit 2
Reserved
0x0
resd
Kept at its default value.
Bit 1: 0
RF0MN
0x0
ro
Receive FIFO 0 message num
Note:
These two bits indicate how many messages are pending
in the FIFO 0.
RF0ML bit is incremented by one each time a new
message has been received and passed the fitler while the
FIFO 0 is not full.
RF0ML bit is decremented by one each time the software
releases the receive FIFO 0 by writing 1 to the RF0R bit.
19.7.1.5 CAN receive FIFO 1 register (CAN_RF1)
Bit
Register
Reset value
Type
Description
Bit 31: 6
Reserved
0x0000000
resd
Kept at its default value.
Bit 5
RF1R
0x0
rw1s
Receive FIFO 1 release
0: No effect
1: Release FIFO
Note:
This bit is set by software to release FIFO 1. It is cleared
by hardware when the FIFO 1 is released.
Seting this bit by software has no effect when the FIFO 1
is empty.
If there are more than two messages pending in the FIFO
0, the software has to release the FIFO 1 to access the
second message.
Bit 4
RF1OF
0x0
rw1c
Receive FIFO 1 overflow flag
0: No overflow
1: Receive FIFO 1 overflow
Note:
This bit is set by hardware when a new message has been
received and passed the filter while the FIFO 1 is full.
It is cleared by software by writing 1.
Bit 3
RF1FF
0x0
rw1c
Receive FIFO 1 full flag
0: Receive FIFO 1 is not full
1: Receive FIFO 1 is full