canque_fifo_free_outslot

Name

canque_fifo_free_outslot --  free processed FIFO slot

Synopsis

int canque_fifo_free_outslot (struct canque_fifo_t * fifo, struct canque_slot_t * slot);

Arguments

fifo

pointer to the FIFO structure

slot

pointer to the slot previously acquired by canque_fifo_test_outslot.

Return Value

The returned value informs about FIFO state change. The mask CAN_FIFOF_FULL indicates, that the FIFO was full before the function call. The mask CAN_FIFOF_EMPTY informs, that last ready slot has been processed.