XMC Peripheral Library for XMC4000 Family: XMC_CAN_MO_t Struct Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
XMC_CAN_MO_t Struct Reference

#include <xmc_can.h>

Data Fields

uint8_t can_data_length
 
CAN_MO_TypeDef * can_mo_ptr
 
XMC_CAN_MO_TYPE_t can_mo_type
 
uint32_t can_data [2]
 
uint8_t can_data_byte [8]
 
uint16_t can_data_word [4]
 
uint32_t can_id_mask:29
 
uint32_t can_id_mode:1
 
uint32_t can_ide_mask:1
 
uint32_t can_identifier:29
 
uint32_t can_priority:2
 

Detailed Description

Defines CAN Message Object runtime elements. Use type XMC_CAN_MO_t for this structure.

Field Documentation

uint32_t can_data[2]

can_data[0] lower 4 bytes of the data. can_data[1], higher 4 bytes of the data

uint8_t can_data_byte[8]

Each position of the array represents a data byte

uint8_t can_data_length

Message data length, Range:0-8

uint16_t can_data_word[4]

Each position of the array represents a 16 bits data word

uint32_t can_id_mask

CAN Identifier of Message Object

uint32_t can_id_mode

Standard/Extended identifier support

uint32_t can_ide_mask

Identifier Extension Bit of Message Object

uint32_t can_identifier

standard (11 bit)/Extended (29 bit) message identifier

CAN_MO_TypeDef* can_mo_ptr

Pointer to the Message Object CAN register

XMC_CAN_MO_TYPE_t can_mo_type

Message Type

uint32_t can_priority

Arbitration Mode/Priority


The documentation for this struct was generated from the following file:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11