STM32F10x Standard Peripherals Library  3.5.0
CanTxMsg Struct Reference

CAN Tx message structure definition. More...

#include <stm32f10x_can.h>

Data Fields

uint32_t StdId
uint32_t ExtId
uint8_t IDE
uint8_t RTR
uint8_t DLC
uint8_t Data [8]

Detailed Description

CAN Tx message structure definition.


Field Documentation

uint8_t Data[8]

Contains the data to be transmitted. It ranges from 0 to 0xFF.

Definition at line 165 of file stm32f10x_can.h.

uint8_t DLC

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

Definition at line 161 of file stm32f10x_can.h.

uint32_t ExtId

Specifies the extended identifier. This parameter can be a value between 0 to 0x1FFFFFFF.

Definition at line 150 of file stm32f10x_can.h.

uint8_t IDE

Specifies the type of identifier for the message that will be transmitted. This parameter can be a value of CAN_identifier_type

Definition at line 153 of file stm32f10x_can.h.

uint8_t RTR

Specifies the type of frame for the message that will be transmitted. This parameter can be a value of CAN_remote_transmission_request

Definition at line 157 of file stm32f10x_can.h.

uint32_t StdId

Specifies the standard identifier. This parameter can be a value between 0 to 0x7FF.

Definition at line 147 of file stm32f10x_can.h.


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