HAL
UART_BRR_SAMPLING8
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
UART_BRR_SAMPLING8
UART_BRR_SAMPLING8 macro
Syntax
from
stm32f4xx_hal_uart.h:876
#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
Location
Text
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
)
;