CAN_MessageObject_TypeDef Struct ReferenceEMLIB > CAN

CAN Message Object TypeDef structure. LSBs is used

Definition at line 126 of file em_can.h .

#include < em_can.h >

Data Fields

uint8_t data [8]
bool directionMask
uint8_t dlc
bool extended
bool extendedMask
uint32_t id
uint32_t mask
uint8_t msgNum

Field Documentation

uint8_t CAN_MessageObject_TypeDef::data[8]

Pointer to the data, [0 - 8] bytes

Definition at line 143 of file em_can.h .

Referenced by CAN_ReadMessage() , and CAN_WriteData() .

bool CAN_MessageObject_TypeDef::directionMask

Enable the use of 'direction' value for filtering

Definition at line 152 of file em_can.h .

Referenced by CAN_SetIdAndFilter() .

uint8_t CAN_MessageObject_TypeDef::dlc

Data Length Code [0 - 8]

Definition at line 140 of file em_can.h .

Referenced by CAN_ReadMessage() , CAN_SendMessage() , and CAN_WriteData() .

bool CAN_MessageObject_TypeDef::extended

Id extended if true, standard if false

Definition at line 131 of file em_can.h .

Referenced by CAN_SendMessage() , and CAN_SetIdAndFilter() .

bool CAN_MessageObject_TypeDef::extendedMask

Enable the use of 'extended' value for filtering

Definition at line 149 of file em_can.h .

Referenced by CAN_SetIdAndFilter() .

uint32_t CAN_MessageObject_TypeDef::id

Id of the message, with 11 bits (standard) or 28 bits (extended). LSBs are used for both of them

Definition at line 137 of file em_can.h .

Referenced by CAN_SendMessage() , and CAN_SetIdAndFilter() .

uint32_t CAN_MessageObject_TypeDef::mask

Mask for id filtering

Definition at line 146 of file em_can.h .

Referenced by CAN_SetIdAndFilter() .

uint8_t CAN_MessageObject_TypeDef::msgNum

Message number of this Message Object, [1 - 32]

Definition at line 128 of file em_can.h .

Referenced by CAN_ReadMessage() , CAN_SendMessage() , and CAN_SetIdAndFilter() .


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/platform/emlib/inc/ em_can.h