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

USART_DIVFRAQ macro

Syntax

#define USART_DIVFRAQ(_PCLK_, _BAUD_) ((((USART_DIV((_PCLK_), (_BAUD_)) - (USART_DIVMANT((_PCLK_), (_BAUD_)) * 100U)) * 8U) + 50U) / 100U)

Arguments

_PCLK_

_BAUD_

References

LocationText
stm32f4xx_hal_usart.h:614
#define USART_DIVFRAQ(_PCLK_, _BAUD_) ((((USART_DIV((_PCLK_), (_BAUD_)) - (USART_DIVMANT((_PCLK_), (_BAUD_)) * 100U)) * 8U) + 50U) / 100U)
stm32f4xx_hal_usart.h:620
((USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0xF8U) << 1U)) + \
stm32f4xx_hal_usart.h:621
(USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0x07U))