|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
Data Fields
CAN_MSG_FIELD Struct Reference
MPLABX MCC Melody Code Generator » CAN FD Driver

This data structure used to configure the message fields. Some of the fields formatType and brs data should match with the CAN FD configuration in Melody MCC user interface. More...

`#include <C:/MCU16Projects/bitbucket/dspic33ck-power-dcdc-dual-active-bridge-development-platform/dspic33ck-dab.X/mcc_generated_files/can/can_types.h>`

Collaboration diagram for CAN_MSG_FIELD:

## Data Fields
unsigned int | idType:1
unsigned int | frameType:1
unsigned int | dlc:4
unsigned int | formatType:1
unsigned int | brs:1

## Detailed Description

Definition at line 52 of file can_types.h.

## Field Documentation

## ◆ brs

unsigned int brs

Enables or Disables the Bit Rate Switch

Definition at line 58 of file can_types.h.

## ◆ dlc

unsigned int dlc

Defines the size of the data bytes in a message format. The maximum date length is defined in MCC Melody

Definition at line 56 of file can_types.h.

## ◆ formatType

unsigned int formatType

Defines the message type as CAN 2.0 Format or CAN_FD Format

Definition at line 57 of file can_types.h.

## ◆ frameType

unsigned int frameType

Defines the message frame type as Data Frame or RTR Frame

Definition at line 55 of file can_types.h.

## ◆ idType

unsigned int idType

Defines the message ID type as Standard ID or Extended ID

Definition at line 54 of file can_types.h.

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

- dspic33ck-dab.X/mcc_generated_files/can/can_types.h