CAN_MessageObject_TypeDef Struct ReferenceEMLIB > CAN
CAN Message Object TypeDef structure. LSBs is used.
Definition at line
125
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] |
A pointer to data, [0 - 8] bytes.
Definition at line
142
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
151
of file
em_can.h
.
Referenced by CAN_SetIdAndFilter() .
uint8_t CAN_MessageObject_TypeDef::dlc |
Data Length Code [0 - 8].
Definition at line
139
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
130
of file
em_can.h
.
Referenced by CAN_ReadMessage() , CAN_SendMessage() , and CAN_SetIdAndFilter() .
bool CAN_MessageObject_TypeDef::extendedMask |
Enable the use of 'extended' value for filtering.
Definition at line
148
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.
Definition at line
136
of file
em_can.h
.
Referenced by CAN_ReadMessage() , CAN_SendMessage() , and CAN_SetIdAndFilter() .
uint32_t CAN_MessageObject_TypeDef::mask |
A mask for ID filtering.
Definition at line
145
of file
em_can.h
.
Referenced by CAN_SetIdAndFilter() .
uint8_t CAN_MessageObject_TypeDef::msgNum |
A message number of this Message Object, [1 - 32].
Definition at line
127
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:/cygwin/home/caamunds/work/super/platform/emlib/inc/
em_can.h