STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
CAN_TxHeaderTypeDef Struct Reference

CAN Tx message header structure definition. More...

#include <stm32f4xx_hal_can.h>

Collaboration diagram for CAN_TxHeaderTypeDef:

Data Fields

uint32_t StdId
 
uint32_t ExtId
 
uint32_t IDE
 
uint32_t RTR
 
uint32_t DLC
 
FunctionalState TransmitGlobalTime
 

Detailed Description

CAN Tx message header structure definition.

Definition at line 155 of file stm32f4xx_hal_can.h.

Field Documentation

◆ StdId

uint32_t CAN_TxHeaderTypeDef::StdId

Specifies the standard identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x7FF.

Definition at line 157 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().

◆ ExtId

uint32_t CAN_TxHeaderTypeDef::ExtId

Specifies the extended identifier. This parameter must be a number between Min_Data = 0 and Max_Data = 0x1FFFFFFF.

Definition at line 160 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().

◆ IDE

uint32_t CAN_TxHeaderTypeDef::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 163 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().

◆ RTR

uint32_t CAN_TxHeaderTypeDef::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 166 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().

◆ DLC

uint32_t CAN_TxHeaderTypeDef::DLC

Specifies the length of the frame that will be transmitted. This parameter must be a number between Min_Data = 0 and Max_Data = 8.

Definition at line 169 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().

◆ TransmitGlobalTime

FunctionalState CAN_TxHeaderTypeDef::TransmitGlobalTime

Specifies whether the timestamp counter value captured on start of frame transmission, is sent in DATA6 and DATA7 replacing pData[6] and pData[7].

Note
: Time Triggered Communication Mode must be enabled.
: DLC must be programmed as 8 bytes, in order these 2 bytes are sent. This parameter can be set to ENABLE or DISABLE.

Definition at line 172 of file stm32f4xx_hal_can.h.

Referenced by HAL_CAN_AddTxMessage().


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