STM32F439xx HAL User Manual
Data Fields
IRDA_InitTypeDef Struct Reference

IRDA Init Structure definition. More...

#include <stm32f4xx_hal_irda.h>

Data Fields

uint32_t BaudRate
uint32_t WordLength
uint32_t Parity
uint32_t Mode
uint8_t Prescaler
uint32_t IrDAMode

Detailed Description

IRDA Init Structure definition.

Definition at line 62 of file stm32f4xx_hal_irda.h.


Field Documentation

This member configures the IRDA communication baud rate. The baud rate is computed using the following formula:

  • IntegerDivider = ((PCLKx) / (8 * (hirda->Init.BaudRate)))
  • FractionalDivider = ((IntegerDivider - ((uint32_t) IntegerDivider)) * 8) + 0.5

Definition at line 64 of file stm32f4xx_hal_irda.h.

Referenced by IRDA_SetConfig().

Specifies the IrDA mode This parameter can be a value of IRDA Low Power

Definition at line 84 of file stm32f4xx_hal_irda.h.

Referenced by HAL_IRDA_Init().

Specifies wether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of IRDA Transfer Mode

Definition at line 79 of file stm32f4xx_hal_irda.h.

Referenced by IRDA_SetConfig().

Specifies the parity mode. This parameter can be a value of IRDA Parity

Note:
When parity is enabled, the computed parity is inserted at the MSB position of the transmitted data (9th bit when the word length is set to 9 data bits; 8th bit when the word length is set to 8 data bits).

Definition at line 72 of file stm32f4xx_hal_irda.h.

Referenced by HAL_IRDA_Receive(), HAL_IRDA_Transmit(), IRDA_Receive_IT(), IRDA_SetConfig(), and IRDA_Transmit_IT().

Specifies the Prescaler

Definition at line 82 of file stm32f4xx_hal_irda.h.

Referenced by HAL_IRDA_Init().

Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of IRDA Word Length

Definition at line 69 of file stm32f4xx_hal_irda.h.

Referenced by HAL_IRDA_Receive(), HAL_IRDA_Transmit(), IRDA_Receive_IT(), IRDA_SetConfig(), and IRDA_Transmit_IT().


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