dsPIC33/PIC24 Family Reference Manual
DS70005340A-page 102 2018 Microchip Technology Inc.
Figure 10-27 illustrates the status of the TEF after one more message is transmitted. Since the
TEF is already full, an overflow occurs. The ID is discarded and TEFOVIF is set. The user
address remains unchanged.
Figure 10-27: TEF – Overflow
Figure 10-28 illustrates the status of the TEF after the application cleared TEFOVIF and read one
more message. TEFFIF is clear because the TEF is not full anymore. The user address points
to MO2.
Figure 10-28: TEF – One More ID Read
MO0/ID12
MO1/ID1
MO2/ID2
MO11/ID11
C1TEFUAL = 0x00C
C1TEFSTA:
TEFFIF = 1
TEFHIF = 1
TEFNEIF = 1
TEFOVIF = 1
MO1
MO2/ID2
MO3/ID3
MO11/ID11
C1TEFUAL = 0x018
C1TEFSTA:
TEFFIF = 0
TEFHIF = 1
TEFNEIF = 1
TEFOVIF = 0
MO0/ID12