HAL
USART_DIVFRAQ
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
USART_DIVFRAQ
USART_DIVFRAQ macro
Syntax
from
stm32f4xx_hal_usart.h:614
#define
USART_DIVFRAQ
(
_PCLK_
,
_BAUD_
)
(
(
(
(
USART_DIV
(
(
_PCLK_
)
,
(
_BAUD_
)
)
-
(
USART_DIVMANT
(
(
_PCLK_
)
,
(
_BAUD_
)
)
*
100U
)
)
*
8U
)
+
50U
)
/
100U
)
Arguments
_PCLK_
_BAUD_
References
Location
Text
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
)
)