CAN Message Object TypeDef structure.

LSBs is used.

Public Attributes#

uint8_t

A message number of this Message Object, [1 - 32].

bool

ID extended if true, standard if false.

uint32_t

ID of the message with 11 bits (standard) or 28 bits (extended).

uint8_t

Data Length Code [0 - 8].

uint8_t

A pointer to data, [0 - 8] bytes.

uint32_t

A mask for ID filtering.

bool

Enable the use of 'extended' value for filtering.

bool

Enable the use of 'direction' value for filtering.

Public Attribute Documentation#

msgNum#

uint8_t CAN_MessageObject_TypeDef::msgNum

A message number of this Message Object, [1 - 32].


Definition at line 121 of file platform/emlib/inc/em_can.h

extended#

bool CAN_MessageObject_TypeDef::extended

ID extended if true, standard if false.



Definition at line 124 of file platform/emlib/inc/em_can.h

id#

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 130 of file platform/emlib/inc/em_can.h

dlc#

uint8_t CAN_MessageObject_TypeDef::dlc

Data Length Code [0 - 8].



Definition at line 133 of file platform/emlib/inc/em_can.h

data#

uint8_t CAN_MessageObject_TypeDef::data[8]

A pointer to data, [0 - 8] bytes.



Definition at line 136 of file platform/emlib/inc/em_can.h

mask#

uint32_t CAN_MessageObject_TypeDef::mask

A mask for ID filtering.


Definition at line 139 of file platform/emlib/inc/em_can.h

extendedMask#

bool CAN_MessageObject_TypeDef::extendedMask

Enable the use of 'extended' value for filtering.


Definition at line 142 of file platform/emlib/inc/em_can.h

directionMask#

bool CAN_MessageObject_TypeDef::directionMask

Enable the use of 'direction' value for filtering.


Definition at line 145 of file platform/emlib/inc/em_can.h