UM1940
Function description
Parameters
Return values
HAL_IRDA_MspInit
Function name
Function description
Parameters
Return values
HAL_IRDA_MspDeInit
Function name
Function description
Parameters
Return values
HAL_IRDA_Transmit
Function name
Function description
Parameters
Return values
HAL_IRDA_Receive
Function name
Function description
Parameters
* hirda)
DeInitializes the IRDA peripheral.
hirda: pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA
module.
HAL: status
void HAL_IRDA_MspInit (IRDA_HandleTypeDef * hirda)
IRDA MSP Init.
hirda: pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA
module.
None:
void HAL_IRDA_MspDeInit (IRDA_HandleTypeDef * hirda)
IRDA MSP DeInit.
hirda: pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA
module.
None:
HAL_StatusTypeDef HAL_IRDA_Transmit
(IRDA_HandleTypeDef * hirda, uint8_t * pData, uint16_t Size,
uint32_t Timeout)
Sends an amount of data in blocking mode.
hirda: pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA
module.
pData: Pointer to data buffer
Size: Amount of data to be sent
Timeout: Specify timeout value
HAL: status
HAL_StatusTypeDef HAL_IRDA_Receive
(IRDA_HandleTypeDef * hirda, uint8_t * pData, uint16_t Size,
uint32_t Timeout)
Receive an amount of data in blocking mode.
hirda: pointer to a IRDA_HandleTypeDef structure that
contains the configuration information for the specified IRDA
DocID028236 Rev 2
HAL IRDA Generic Driver
333/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?