MG32F157 Standard Peripherals Firmware Library
|
CAN Message structure definition. More...
#include <mg32f157_can.h>
Data Fields | |
uint32_t | Identifier |
uint8_t | IDType |
uint8_t | FrameType |
uint8_t | DataLength |
uint8_t | Data [8] |
CAN Message structure definition.
uint8_t Data[8] |
Contains the data to be transmitted. It ranges from 0 to 0xFF.
uint8_t DataLength |
Specifies the length of the frame that will be transmitted. This parameter can be a value of CAN_DataLength
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_FrameType
uint32_t Identifier |
Specifies the identifier. This parameter must be a number between:
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