STM32L486xx HAL User Manual
Data Fields
IRDA_InitTypeDef Struct Reference

IRDA Init Structure definition. More...

#include <stm32l4xx_hal_irda.h>

Data Fields

uint32_t BaudRate
uint32_t WordLength
uint32_t Parity
uint32_t Mode
uint8_t Prescaler
uint16_t PowerMode

Detailed Description

IRDA Init Structure definition.

Definition at line 63 of file stm32l4xx_hal_irda.h.


Field Documentation

This member configures the IRDA communication baud rate. The baud rate register is computed using the following formula: Baud Rate Register = ((usart_ker_ckpres) / ((hirda->Init.BaudRate))) where usart_ker_ckpres is the IRDA input clock divided by a prescaler

Definition at line 65 of file stm32l4xx_hal_irda.h.

Referenced by IRDA_SetConfig().

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

Definition at line 80 of file stm32l4xx_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 73 of file stm32l4xx_hal_irda.h.

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

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

Definition at line 87 of file stm32l4xx_hal_irda.h.

Referenced by IRDA_SetConfig().

Specifies the Prescaler value for dividing the UART/USART source clock to achieve low-power frequency.

Note:
Prescaler value 0 is forbidden

Definition at line 83 of file stm32l4xx_hal_irda.h.

Referenced by IRDA_SetConfig().

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 70 of file stm32l4xx_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: