STM32F439xx HAL User Manual
|
Modules | |
IrDA Initialization and de-initialization functions | |
Initialization and Configuration functions. | |
IO operation functions | |
IRDA Transmit/Receive functions. | |
Peripheral State and Errors functions | |
IRDA State and Errors functions. | |
Functions | |
static void | IRDA_DMATransmitCplt (DMA_HandleTypeDef *hdma) |
DMA IRDA transmit process complete callback. | |
static void | IRDA_DMATransmitHalfCplt (DMA_HandleTypeDef *hdma) |
DMA IRDA receive process half complete callback. | |
static void | IRDA_DMAReceiveCplt (DMA_HandleTypeDef *hdma) |
DMA IRDA receive process complete callback. | |
static void | IRDA_DMAReceiveHalfCplt (DMA_HandleTypeDef *hdma) |
DMA IRDA receive process half complete callback. | |
static void | IRDA_DMAError (DMA_HandleTypeDef *hdma) |
DMA IRDA communication error callback. | |
static HAL_StatusTypeDef | IRDA_WaitOnFlagUntilTimeout (IRDA_HandleTypeDef *hirda, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout) |
This function handles IRDA Communication Timeout. | |
static HAL_StatusTypeDef | IRDA_Transmit_IT (IRDA_HandleTypeDef *hirda) |
Send an amount of data in non blocking mode. | |
static HAL_StatusTypeDef | IRDA_EndTransmit_IT (IRDA_HandleTypeDef *hirda) |
Wraps up transmission in non blocking mode. | |
static HAL_StatusTypeDef | IRDA_Receive_IT (IRDA_HandleTypeDef *hirda) |
Receives an amount of data in non blocking mode. | |
static void | IRDA_SetConfig (IRDA_HandleTypeDef *hirda) |
Configures the IRDA peripheral. |
static void IRDA_DMAError | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA IRDA communication error callback.
hdma | DMA handle |
None |
Definition at line 1841 of file stm32f4xx_hal_irda.c.
References IRDA_HandleTypeDef::ErrorCode, IRDA_HandleTypeDef::gState, HAL_IRDA_ERROR_DMA, HAL_IRDA_ErrorCallback(), HAL_IRDA_STATE_BUSY_RX, HAL_IRDA_STATE_BUSY_TX, IRDA_HandleTypeDef::Instance, IRDA_EndRxTransfer(), IRDA_EndTxTransfer(), IRDA_HandleTypeDef::RxState, IRDA_HandleTypeDef::RxXferCount, and IRDA_HandleTypeDef::TxXferCount.
Referenced by HAL_IRDA_Receive_DMA(), and HAL_IRDA_Transmit_DMA().
static void IRDA_DMAReceiveCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA IRDA receive process complete callback.
hdma | DMA handle |
None |
Definition at line 1801 of file stm32f4xx_hal_irda.c.
References HAL_IRDA_RxCpltCallback(), HAL_IRDA_STATE_READY, IRDA_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, IRDA_HandleTypeDef::RxState, and IRDA_HandleTypeDef::RxXferCount.
Referenced by HAL_IRDA_Receive_DMA().
static void IRDA_DMAReceiveHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA IRDA receive process half complete callback.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
None |
Definition at line 1830 of file stm32f4xx_hal_irda.c.
References HAL_IRDA_RxHalfCpltCallback().
Referenced by HAL_IRDA_Receive_DMA().
static void IRDA_DMATransmitCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA IRDA transmit process complete callback.
hdma | DMA handle |
None |
Definition at line 1761 of file stm32f4xx_hal_irda.c.
References HAL_IRDA_TxCpltCallback(), IRDA_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, and IRDA_HandleTypeDef::TxXferCount.
Referenced by HAL_IRDA_Transmit_DMA().
static void IRDA_DMATransmitHalfCplt | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA IRDA receive process half complete callback.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module. |
None |
Definition at line 1789 of file stm32f4xx_hal_irda.c.
References HAL_IRDA_TxHalfCpltCallback().
Referenced by HAL_IRDA_Transmit_DMA().
static HAL_StatusTypeDef IRDA_EndTransmit_IT | ( | IRDA_HandleTypeDef * | hirda | ) | [static] |
Wraps up transmission in non blocking mode.
hirda | pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module. |
HAL | status |
Definition at line 1958 of file stm32f4xx_hal_irda.c.
References IRDA_HandleTypeDef::gState, HAL_IRDA_STATE_READY, HAL_IRDA_TxCpltCallback(), and IRDA_HandleTypeDef::Instance.
Referenced by HAL_IRDA_IRQHandler().
static HAL_StatusTypeDef IRDA_Receive_IT | ( | IRDA_HandleTypeDef * | hirda | ) | [static] |
Receives an amount of data in non blocking mode.
hirda | pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module. |
HAL | status |
Definition at line 1980 of file stm32f4xx_hal_irda.c.
References HAL_IRDA_RxCpltCallback(), HAL_IRDA_STATE_BUSY_RX, HAL_IRDA_STATE_READY, IRDA_HandleTypeDef::Init, IRDA_HandleTypeDef::Instance, IRDA_PARITY_NONE, IRDA_WORDLENGTH_9B, IRDA_InitTypeDef::Parity, IRDA_HandleTypeDef::pRxBuffPtr, IRDA_HandleTypeDef::RxState, IRDA_HandleTypeDef::RxXferCount, and IRDA_InitTypeDef::WordLength.
Referenced by HAL_IRDA_IRQHandler().
static void IRDA_SetConfig | ( | IRDA_HandleTypeDef * | hirda | ) | [static] |
Configures the IRDA peripheral.
hirda | pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module. |
None |
Definition at line 2047 of file stm32f4xx_hal_irda.c.
References assert_param, IRDA_InitTypeDef::BaudRate, HAL_RCC_GetPCLK1Freq(), HAL_RCC_GetPCLK2Freq(), IRDA_HandleTypeDef::Init, IRDA_HandleTypeDef::Instance, IRDA_BRR, IS_IRDA_BAUDRATE, IS_IRDA_MODE, IS_IRDA_PARITY, IS_IRDA_WORD_LENGTH, IRDA_InitTypeDef::Mode, IRDA_InitTypeDef::Parity, and IRDA_InitTypeDef::WordLength.
Referenced by HAL_IRDA_Init().
static HAL_StatusTypeDef IRDA_Transmit_IT | ( | IRDA_HandleTypeDef * | hirda | ) | [static] |
Send an amount of data in non blocking mode.
hirda | pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module. |
HAL | status |
Definition at line 1910 of file stm32f4xx_hal_irda.c.
References IRDA_HandleTypeDef::gState, HAL_IRDA_STATE_BUSY_TX, IRDA_HandleTypeDef::Init, IRDA_HandleTypeDef::Instance, IRDA_PARITY_NONE, IRDA_WORDLENGTH_9B, IRDA_InitTypeDef::Parity, IRDA_HandleTypeDef::pTxBuffPtr, IRDA_HandleTypeDef::TxXferCount, and IRDA_InitTypeDef::WordLength.
Referenced by HAL_IRDA_IRQHandler().
static HAL_StatusTypeDef IRDA_WaitOnFlagUntilTimeout | ( | IRDA_HandleTypeDef * | hirda, |
uint32_t | Flag, | ||
FlagStatus | Status, | ||
uint32_t | Tickstart, | ||
uint32_t | Timeout | ||
) | [static] |
This function handles IRDA Communication Timeout.
hirda | pointer to a IRDA_HandleTypeDef structure that contains the configuration information for the specified IRDA module. |
Flag | specifies the IRDA flag to check. |
Status | The new Flag status (SET or RESET). |
Tickstart | Tick start value |
Timeout | Timeout duration |
HAL | status |
Definition at line 1877 of file stm32f4xx_hal_irda.c.
References __HAL_IRDA_GET_FLAG, IRDA_HandleTypeDef::gState, HAL_GetTick(), HAL_IRDA_STATE_READY, IRDA_HandleTypeDef::Instance, and IRDA_HandleTypeDef::RxState.
Referenced by HAL_IRDA_Receive(), and HAL_IRDA_Transmit().