HAL
HAL_IRDA_Transmit_DMA() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_IRDA_Transmit_DMA() function

Send an amount of data in DMA mode.

Syntax

HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda,     const uint8_t *pData,     uint16_t Size);
Implemented in stm32f4xx_hal_irda.c:1040

Arguments

hirda

Pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module.

pData

Pointer to data buffer (u8 or u16 data elements).

Size

Amount of data elements (u8 or u16) to be sent.

Return value

HAL status

Notes

When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M0 = 01), the sent data is handled as a set of u16. In this case, Size must reflect the number of u16 available through pData.

References

LocationText
stm32f4xx_hal_irda.c:1040
HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size)
stm32f4xx_hal_irda.h:566
HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size);