|
STM32G474xx HAL用户手册
|
宏定义 | |
| #define | UART_PRESCALER_DIV1 0x00000000U |
| #define | UART_PRESCALER_DIV2 0x00000001U |
| #define | UART_PRESCALER_DIV4 0x00000002U |
| #define | UART_PRESCALER_DIV6 0x00000003U |
| #define | UART_PRESCALER_DIV8 0x00000004U |
| #define | UART_PRESCALER_DIV10 0x00000005U |
| #define | UART_PRESCALER_DIV12 0x00000006U |
| #define | UART_PRESCALER_DIV16 0x00000007U |
| #define | UART_PRESCALER_DIV32 0x00000008U |
| #define | UART_PRESCALER_DIV64 0x00000009U |
| #define | UART_PRESCALER_DIV128 0x0000000AU |
| #define | UART_PRESCALER_DIV256 0x0000000BU |
| #define UART_PRESCALER_DIV1 0x00000000U |
fclk_pres = fclk
定义于文件 stm32g4xx_hal_uart.h 的第 444 行。
| #define UART_PRESCALER_DIV10 0x00000005U |
fclk_pres = fclk/10
定义于文件 stm32g4xx_hal_uart.h 的第 449 行。
| #define UART_PRESCALER_DIV12 0x00000006U |
fclk_pres = fclk/12
定义于文件 stm32g4xx_hal_uart.h 的第 450 行。
| #define UART_PRESCALER_DIV128 0x0000000AU |
fclk_pres = fclk/128
定义于文件 stm32g4xx_hal_uart.h 的第 454 行。
| #define UART_PRESCALER_DIV16 0x00000007U |
fclk_pres = fclk/16
定义于文件 stm32g4xx_hal_uart.h 的第 451 行。
| #define UART_PRESCALER_DIV2 0x00000001U |
fclk_pres = fclk/2
定义于文件 stm32g4xx_hal_uart.h 的第 445 行。
| #define UART_PRESCALER_DIV256 0x0000000BU |
fclk_pres = fclk/256
定义于文件 stm32g4xx_hal_uart.h 的第 455 行。
| #define UART_PRESCALER_DIV32 0x00000008U |
fclk_pres = fclk/32
定义于文件 stm32g4xx_hal_uart.h 的第 452 行。
| #define UART_PRESCALER_DIV4 0x00000002U |
fclk_pres = fclk/4
定义于文件 stm32g4xx_hal_uart.h 的第 446 行。
| #define UART_PRESCALER_DIV6 0x00000003U |
fclk_pres = fclk/6
定义于文件 stm32g4xx_hal_uart.h 的第 447 行。
| #define UART_PRESCALER_DIV64 0x00000009U |
fclk_pres = fclk/64
定义于文件 stm32g4xx_hal_uart.h 的第 453 行。
| #define UART_PRESCALER_DIV8 0x00000004U |
fclk_pres = fclk/8
定义于文件 stm32g4xx_hal_uart.h 的第 448 行。
1.7.6.1