SPRUI30H November 2015 ā May 2024 DRA745 , DRA746 , DRA750 , DRA756
Several messages may be accumulated in a set of message objects which are concatenated to form a FIFO buffer before the application program is required (in order to avoid the loss of data) to empty the buffer.
A FIFO buffer of length N will store Nā1, plus the last received message since last time it was cleared.
A FIFO buffer is cleared by reading and resetting the NewDat bits of all its message objects, starting at the FIFO Object with the lowest message number. This should be done in a subroutine following the example shown in Figure 24-173.
All message objects of a FIFO buffer needs to be read and cleared before the next batch of messages can be stored. Otherwise, true FIFO functionality can not be guaranteed, since the message objects of a partly read buffer will be re-filled according to the normal (descending) priority.
Reading from a FIFO buffer message object and resetting its NewDat bit is handled the same way as reading from a single message object.