HAL
UART_DIV_SAMPLING8
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
UART_DIV_SAMPLING8
UART_DIV_SAMPLING8 macro
Syntax
from
stm32f4xx_hal_uart.h:870
#define
UART_DIV_SAMPLING8
(
_PCLK_
,
_BAUD_
)
(
(
uint32_t
)
(
(
(
(
uint64_t
)
(
_PCLK_
)
)
*
25U
)
/
(
2U
*
(
(
uint64_t
)
(
_BAUD_
)
)
)
)
)
Arguments
_PCLK_
_BAUD_
References
Location
Text
stm32f4xx_hal_uart.h:870
#define
UART_DIV_SAMPLING8
(
_PCLK_
,
_BAUD_
)
(
(
uint32_t
)
(
(
(
(
uint64_t
)
(
_PCLK_
)
)
*
25U
)
/
(
2U
*
(
(
uint64_t
)
(
_BAUD_
)
)
)
)
)
stm32f4xx_hal_uart.h:871
#define
UART_DIVMANT_SAMPLING8
(
_PCLK_
,
_BAUD_
)
(
UART_DIV_SAMPLING8
(
(
_PCLK_
)
,
(
_BAUD_
)
)
/
100U
)
stm32f4xx_hal_uart.h:872
#define
UART_DIVFRAQ_SAMPLING8
(
_PCLK_
,
_BAUD_
)
(
(
(
(
UART_DIV_SAMPLING8
(
(
_PCLK_
)
,
(
_BAUD_
)
)
-
(
UART_DIVMANT_SAMPLING8
(
(
_PCLK_
)
,
(
_BAUD_
)
)
*
100U
)
)
*
8U
)
\