clock





pll

systick


《ARM ® CortexM4 Devices Generic User Guide》

hc32f460's systick control and status register
华大 HC32F460 的 systick 嘀嗒定时器使用内核时钟(HCLK)
HC32F460.h******************************************************************************** * @file HC32F460.h * @brief Headerfile for HC32F460 series MCU ********************************************************************************
******************************************************************************** Configuration of the Cortex-M4 Processor and Core Peripherals ******************************************************************************** #define __CM4_REV 1 #define __FPU_PRESENT 1 #define __MPU_PRESENT 1 #define __NVIC_PRIO_BITS 4 #define __Vendor_SysTickConfig 0
|
core_cm4.h#if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U) uint32_t SysTick_Config(uint32_t ticks) { ... } #endif
|
华大 HC32F460 的 systick 嘀嗒定时器使用 cmsis(core_cm4.h) 中默认的配置函数
外设时钟源(URT)

÷2 表示开启过采样功能


公式中整数分频寄存器的取值范围为 0x00 ~ 0xFF(USART_BRR[b15~b08])
外设时钟源(SPI)

外设时钟源(I2C)

外设时钟源(CMP)
