|
STM32G474xx HAL用户手册
|
宏定义 | |
| #define | USART_PRESCALER_DIV1 0x00000000U |
| #define | USART_PRESCALER_DIV2 0x00000001U |
| #define | USART_PRESCALER_DIV4 0x00000002U |
| #define | USART_PRESCALER_DIV6 0x00000003U |
| #define | USART_PRESCALER_DIV8 0x00000004U |
| #define | USART_PRESCALER_DIV10 0x00000005U |
| #define | USART_PRESCALER_DIV12 0x00000006U |
| #define | USART_PRESCALER_DIV16 0x00000007U |
| #define | USART_PRESCALER_DIV32 0x00000008U |
| #define | USART_PRESCALER_DIV64 0x00000009U |
| #define | USART_PRESCALER_DIV128 0x0000000AU |
| #define | USART_PRESCALER_DIV256 0x0000000BU |
| #define USART_PRESCALER_DIV1 0x00000000U |
fclk_pres = fclk
定义于文件 stm32g4xx_hal_usart.h 的 307 行。
| #define USART_PRESCALER_DIV10 0x00000005U |
fclk_pres = fclk/10
定义于文件 stm32g4xx_hal_usart.h 的 312 行。
| #define USART_PRESCALER_DIV12 0x00000006U |
fclk_pres = fclk/12
定义于文件 stm32g4xx_hal_usart.h 的 313 行。
| #define USART_PRESCALER_DIV128 0x0000000AU |
fclk_pres = fclk/128
定义于文件 stm32g4xx_hal_usart.h 的 317 行。
| #define USART_PRESCALER_DIV16 0x00000007U |
fclk_pres = fclk/16
定义于文件 stm32g4xx_hal_usart.h 的 314 行。
| #define USART_PRESCALER_DIV2 0x00000001U |
fclk_pres = fclk/2
定义于文件 stm32g4xx_hal_usart.h 的 308 行。
| #define USART_PRESCALER_DIV256 0x0000000BU |
fclk_pres = fclk/256
定义于文件 stm32g4xx_hal_usart.h 的 318 行。
| #define USART_PRESCALER_DIV32 0x00000008U |
fclk_pres = fclk/32
定义于文件 stm32g4xx_hal_usart.h 的 315 行。
| #define USART_PRESCALER_DIV4 0x00000002U |
fclk_pres = fclk/4
定义于文件 stm32g4xx_hal_usart.h 的 309 行。
| #define USART_PRESCALER_DIV6 0x00000003U |
fclk_pres = fclk/6
定义于文件 stm32g4xx_hal_usart.h 的 310 行。
| #define USART_PRESCALER_DIV64 0x00000009U |
fclk_pres = fclk/64
定义于文件 stm32g4xx_hal_usart.h 的 316 行。
| #define USART_PRESCALER_DIV8 0x00000004U |
fclk_pres = fclk/8
定义于文件 stm32g4xx_hal_usart.h 的 311 行。
1.7.6.1