MG32F157 Standard Peripherals Firmware Library
Data Fields
CANFD_Msg Struct Reference

CANFD Message structure definition. More...

#include <mg32f157_can.h>

Data Fields

uint32_t Identifier
 
uint8_t IDType
 
uint8_t FrameType
 
uint8_t FrameFormat
 
uint8_t BitRateSwitch
 
uint8_t ErrorStateIndicator
 
uint8_t DataLength
 
uint8_t Data [64]
 

Detailed Description

CANFD Message structure definition.

Field Documentation

◆ BitRateSwitch

uint8_t BitRateSwitch

Specifies whether the Tx frame will be transmitted with or without bit rate switching. This parameter can be a value of CAN_BitRate_Switch

◆ DataLength

uint8_t DataLength

Specifies the length of the frame that will be transmitted. This parameter can be a value between 0 to 64

◆ ErrorStateIndicator

uint8_t ErrorStateIndicator

Specifies the error state indicator. This parameter can be a value of CAN_Error_State_Indicator

◆ FrameFormat

uint8_t FrameFormat

Specifies the frame format for the message that will be transmitted. class frame or FD frame. This parameter can be a value of CAN_Frame_Format

◆ FrameType

uint8_t FrameType

Specifies the frame type of the message that will be transmitted. remote frame or data frame. This parameter can be a value of CAN_Frame_Type

◆ Identifier

uint32_t Identifier

Specifies the identifier. This parameter must be a number between:

  • 0 and 0x7FF, if IdType is CAN_IdType_Standard
  • 0 and 0x1FFFFFFF, if IdType is CAN_IdType_Extended

◆ IDType

uint8_t IDType

Specifies the identifier type for the message that will be transmitted. etended ID or standard ID. This parameter can be a value of CAN_IDType


The documentation for this struct was generated from the following file: