STM32H735xx HAL User Manual
|
USART Init Structure definition. More...
#include <stm32h7xx_hal_usart.h>
Data Fields | |
uint32_t | BaudRate |
uint32_t | WordLength |
uint32_t | StopBits |
uint32_t | Parity |
uint32_t | Mode |
uint32_t | CLKPolarity |
uint32_t | CLKPhase |
uint32_t | CLKLastBit |
uint32_t | ClockPrescaler |
USART Init Structure definition.
Definition at line 46 of file stm32h7xx_hal_usart.h.
uint32_t USART_InitTypeDef::BaudRate |
This member configures the Usart communication baud rate. The baud rate is computed using the following formula: Baud Rate Register[15:4] = ((2 * fclk_pres) / ((huart->Init.BaudRate)))[15:4] Baud Rate Register[3] = 0 Baud Rate Register[2:0] = (((2 * fclk_pres) / ((huart->Init.BaudRate)))[3:0]) >> 1 where fclk_pres is the USART input clock frequency (fclk) divided by a prescaler.
Definition at line 48 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::CLKLastBit |
Specifies whether the clock pulse corresponding to the last transmitted data bit (MSB) has to be output on the SCLK pin in synchronous mode. This parameter can be a value of USART Last Bit.
Definition at line 82 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::CLKPhase |
Specifies the clock transition on which the bit capture is made. This parameter can be a value of USART Clock Phase.
Definition at line 79 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::CLKPolarity |
Specifies the steady state of the serial clock. This parameter can be a value of USART Clock Polarity.
Definition at line 76 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::ClockPrescaler |
Specifies the prescaler value used to divide the USART clock source. This parameter can be a value of USART Clock Prescaler.
Definition at line 86 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::Mode |
Specifies whether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of USART Mode.
Definition at line 73 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::Parity |
Specifies the parity mode. This parameter can be a value of USART Parity
Definition at line 66 of file stm32h7xx_hal_usart.h.
Referenced by HAL_USART_DMAResume(), HAL_USART_Receive(), HAL_USART_Receive_DMA(), HAL_USART_Receive_IT(), HAL_USART_Transmit(), HAL_USART_Transmit_IT(), HAL_USART_TransmitReceive(), HAL_USART_TransmitReceive_DMA(), HAL_USART_TransmitReceive_IT(), and USART_SetConfig().
uint32_t USART_InitTypeDef::StopBits |
Specifies the number of stop bits transmitted. This parameter can be a value of USART Number of Stop Bits.
Definition at line 63 of file stm32h7xx_hal_usart.h.
Referenced by USART_SetConfig().
uint32_t USART_InitTypeDef::WordLength |
Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of USARTEx Word Length.
Definition at line 60 of file stm32h7xx_hal_usart.h.
Referenced by HAL_USART_Receive(), HAL_USART_Receive_IT(), HAL_USART_Transmit(), HAL_USART_Transmit_IT(), HAL_USART_TransmitReceive(), HAL_USART_TransmitReceive_IT(), and USART_SetConfig().