STM32F10x参考手册 第一版 目录
4.1.3 备份域复位............................................................................................................20
4.2 时钟..............................................................................................................................20
4.2.1 HSE时钟 ...............................................................................................................22
4.2.2 HSI时钟.................................................................................................................22
4.2.3 PLL .......................................................................................................................23
4.2.4 LSE时钟................................................................................................................23
4.2.5 LSI时钟 .................................................................................................................23
4.2.6 系统时钟(SYSCLK)选择........................................................................................24
4.2.7 时钟安全系统(CSS)..clock secrity system.............................................................24
4.2.8 RTC时钟 ...............................................................................................................24
4.2.9 看门狗时钟............................................................................................................24
4.2.10 时钟输出 ...............................................................................................................25
4.3 RCC寄存器描述 ...........................................................................................................26
4.3.1 时钟控制寄存器(RCC_CR) ...................................................................................26
4.3.2 时钟配置寄存器(RCC_CFGR)...............................................................................27
4.3.3 时钟中断寄存器 (RCC_CIR)..................................................................................29
4.3.4 APB2外设复位寄存器 (RCC_APB2RSTR)............................................................32
4.3.5 APB1外设复位寄存器 (RCC_APB1RSTR)............................................................33
4.3.6 AHB外设时钟使能寄存器 (RCC_AHBENR) ..........................................................35
4.3.7 APB2外设时钟使能寄存器(RCC_APB2ENR)........................................................36
4.3.8 APB1外设时钟使能寄存器(RCC_APB1ENR)........................................................37
4.3.9 备份域控制寄存器 (RCC_BDCR) ..........................................................................39
4.3.10 控制/状态寄存器 (RCC_CSR) ...............................................................................40
4.4 RCC寄存器映像 ...........................................................................................................43
5 通用和复用功能I/O(GPIO和AFIO) ..............................................................................................44
5.1 GPIO功能描述..............................................................................................................44
5.1.1 通用I/O(GPIO).......................................................................................................45
5.1.2 单独的位设置或位清除 ..........................................................................................45
5.1.3 外部中断/唤醒线....................................................................................................46
5.1.4 复用功能(AF).........................................................................................................46
5.1.5 软件重新映射I/O复用功能 .....................................................................................46
5.1.6 GPIO锁定机制.......................................................................................................46
5.1.7 输入配置 ...............................................................................................................46
5.1.8 输出配置 ...............................................................................................................47
5.1.9 复用功能配置 ........................................................................................................48