dsPIC33/PIC24 Family Reference Manual
DS70005340A-page 96 2018 Microchip Technology Inc.
Figure 10-9: FIFO 2 – First Message Read
Figure 10-10 illustrates the status of FIFO 2 after eight more messages are received: MSG1-MSG8.
The user address still points to MO1. RFNIF and RFHIF are set because the FIFO is now half full.
The FIFO index points to MO9.
Figure 10-10: FIFO 2 – Half Full
Figure 10-11 illustrates the status of FIFO 2 after 10 more messages are received: MSG5-MSG15.
The user address still points to MO1. The FIFO index points to MO0. RFNIF and RFHIF are set.
Figure 10-11: FIFO 2 – FIFO Almost Full
MO0
MO1
MO2
MO15
C1FIFOUA2L = 0x384
C1FIFOSTA2:
FIFOCIx = 1
RFFIF = 0
RFHIF = 0
RFNIF = 0
RXOVIF = 0
MO0
MO1/MSG1
MO2/MSG2
C1FIFOUA2L = 0x384
C1FIFOSTA2:
FIFOCIx = 0
RFFIF = 0
RFHIF = 1
RFNIF = 1
RXOVIF = 0
MO15
MO8/MSG8
MO9
MO10
MO0
MO1/MSG1
MO2/MSG2
MO15/MSG15
C1FIFOUA2L = 0x384
C1FIFOSTA2:
FIFOCIx = 0
RFFIF = 0
RFHIF = 1
RFNIF = 1
RXOVIF = 0