PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_can_msg Struct Reference

CAN message. More...

#include <can.h>

Collaboration diagram for stc_can_msg:

Data Fields

stc_can_msg_id_t stcIdentifier
 11- or 29-bit identifier (ID). More...
 
stc_can_msg_data_t stcData
 Data and DLC. More...
 
volatile boolean_t bOverflow
 TRUE if new message was received while bNew still TRUE. More...
 
volatile boolean_t bNew
 TRUE if new message received (must be reset to FALSE by application to release message object). More...
 

Detailed Description

CAN message.

This structure stores a CAN message, including the identifier, data and data length code (DLC). It also contains an overflow and new flag which indicates the message state for received messages.

Definition at line 1049 of file can.h.

Field Documentation

volatile boolean_t bNew

TRUE if new message received (must be reset to FALSE by application to release message object).

Definition at line 1054 of file can.h.

Referenced by Can_SetReceiveMsgBuffer(), and CanIrqHandler().

volatile boolean_t bOverflow

TRUE if new message was received while bNew still TRUE.

Definition at line 1053 of file can.h.

Referenced by Can_SetReceiveMsgBuffer(), and CanIrqHandler().

Data and DLC.

Definition at line 1052 of file can.h.

Referenced by CanIrqHandler().

stc_can_msg_id_t stcIdentifier

11- or 29-bit identifier (ID).

Definition at line 1051 of file can.h.

Referenced by Can_SetReceiveMsgBuffer(), and CanIrqHandler().


The documentation for this struct was generated from the following file: