CAN Message Object TypeDef structure. LSBs is used.
Definition at line
124
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
141
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
150
of file
em_can.h
.
Referenced by CAN_SetIdAndFilter() .
uint8_t CAN_MessageObject_TypeDef::dlc |
Data Length Code [0 - 8].
Definition at line
138
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
129
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
147
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
135
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
144
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
126
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:/HandsOn/super/platform/emlib/inc/
em_can.h