RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Data Fields
IRDA_InitTypeDef Struct Reference

IRDA Init Structure definition. More...

#include <stm32h7xx_hal_irda.h>

Data Fields

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

Detailed Description

IRDA Init Structure definition.

Field Documentation

◆ BaudRate

uint32_t IRDA_InitTypeDef::BaudRate

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

◆ ClockPrescaler

uint32_t IRDA_InitTypeDef::ClockPrescaler

Specifies the prescaler value used to divide the IRDA clock source. This parameter can be a value of IRDA Clock Prescaler.

◆ 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

◆ 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).

◆ PowerMode

uint16_t IRDA_InitTypeDef::PowerMode

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

◆ Prescaler

uint8_t IRDA_InitTypeDef::Prescaler

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

Note
Prescaler value 0 is forbidden

◆ 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 IRDAEx Word Length


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