Public Attributes | List of all members
IRDA_InitTypeDef Struct Reference

IRDA Init Structure definition. More...

#include <stm32f4xx_hal_irda.h>

Public Attributes

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

Detailed Description

IRDA Init Structure definition.

Definition at line 46 of file stm32f4xx_hal_irda.h.

Member Data Documentation

◆ BaudRate

uint32_t IRDA_InitTypeDef::BaudRate

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

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

Definition at line 48 of file stm32f4xx_hal_irda.h.

◆ IrDAMode

uint32_t IRDA_InitTypeDef::IrDAMode

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

Definition at line 71 of file stm32f4xx_hal_irda.h.

◆ Mode

uint32_t IRDA_InitTypeDef::Mode

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

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

Definition at line 63 of file stm32f4xx_hal_irda.h.

◆ Parity

uint32_t IRDA_InitTypeDef::Parity

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 56 of file stm32f4xx_hal_irda.h.

◆ PowerMode

uint16_t IRDA_InitTypeDef::PowerMode

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

Definition at line 71 of file stm32f7xx_hal_irda.h.

◆ Prescaler

uint8_t IRDA_InitTypeDef::Prescaler

Specifies the Prescaler value to be programmed in the IrDA low-power Baud Register, for defining pulse width on which burst acceptance/rejection will be decided. This value is used as divisor of system clock to achieve required pulse width.

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 66 of file stm32f4xx_hal_irda.h.

◆ WordLength

uint32_t IRDA_InitTypeDef::WordLength

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

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

Definition at line 53 of file stm32f4xx_hal_irda.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19