HAL
UART_BRR_SAMPLING8 is only used within HAL.
 
Symbols
loading...
Files
loading...

UART_BRR_SAMPLING8 macro

Syntax

#define UART_BRR_SAMPLING8(_PCLK_, _BAUD_) ((UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) << 4U) + \     ((UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0xF8U) << 1U) + \     (UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0x07U))

Arguments

_PCLK_

_BAUD_

References

LocationText
stm32f4xx_hal_uart.h:876
#define UART_BRR_SAMPLING8(_PCLK_, _BAUD_) ((UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) << 4U) + \
stm32f4xx_hal_uart.c:3751
huart->Instance->BRR = UART_BRR_SAMPLING8(pclk, huart->Init.BaudRate);