CANpie FD
CAN programming interface environment - Version 3.08
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Modules Pages
Data Fields
CpFifo_s Struct Reference

Detailed Description

This structure is initialised by CpFifoInit().

Data Fields

uint32_t ulIndexIn
 
uint32_t ulIndexOut
 
uint32_t ulIndexMax
 
uint32_t ulState
 
CpCanMsg_tsptsCanMsg
 

Field Documentation

◆ ptsCanMsg

CpCanMsg_ts* CpFifo_s::ptsCanMsg

Pointer to CAN message buffer

◆ ulIndexIn

uint32_t CpFifo_s::ulIndexIn

Index where the last data has been written to

◆ ulIndexMax

uint32_t CpFifo_s::ulIndexMax

Maximum number of FIFO entries

◆ ulIndexOut

uint32_t CpFifo_s::ulIndexOut

Index where the last data has been read from

◆ ulState

uint32_t CpFifo_s::ulState

Status of FIFO full or empty 0x01: FIFO is empty 0x02: FIFO is full