HAL + 0/6 examples
CodeScope will show references to HAL_CAN_AddTxMessage() from the following samples and libraries:
Examples
STM32446E_EVAL
Examples
CAN
STM32469I_EVAL
Examples
CAN
STM324x9I_EVAL
Examples
CAN
STM324xG_EVAL
Examples
CAN
 
Symbols
loading...
Files
loading...

HAL_CAN_AddTxMessage() function

Add a message to the first free Tx mailbox and activate the corresponding transmission request.

Syntax

HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan,     const CAN_TxHeaderTypeDef *pHeader,     const uint8_t aData[],     uint32_t *pTxMailbox);
Implemented in stm32f4xx_hal_can.c:1250

Arguments

hcan

pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.

pHeader

pointer to a CAN_TxHeaderTypeDef structure.

aData

array containing the payload of the Tx frame.

pTxMailbox

pointer to a variable where the function will return the TxMailbox used to store the Tx message. This parameter can be a value of @arg CAN_Tx_Mailboxes.

Return value

HAL status

Examples

HAL_CAN_AddTxMessage() is referenced by 6 libraries and example projects.