![]() |
RTEMS 6.1-rc7
|
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 |
IRDA Init Structure definition.
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
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.
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
uint32_t IRDA_InitTypeDef::Parity |
Specifies the parity mode. This parameter can be a value of IRDA Parity
uint16_t IRDA_InitTypeDef::PowerMode |
Specifies the IRDA power mode. This parameter can be a value of IRDA Low Power
uint8_t IRDA_InitTypeDef::Prescaler |
Specifies the Prescaler value for dividing the UART/USART source clock to achieve low-power frequency.
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