STMicroelectronics STM32F05 series Reference Manual
Text of STMicroelectronics STM32F05 series Reference Manual
Doc ID 018940 Rev 1
1/742
RM0091
Reference manual
STM32F05xxx advanced ARM-based 32-bit MCUs
Introduction
This reference manual targets application developers. It provides complete information on
how to use the STM32F05xxx microcontroller memory and peripherals.
The STM32F05xxx is a family of microcontrollers with different memory sizes, packages and
peripherals.
For ordering information, mechanical and electrical device characteristics please r
Doc ID 018940 Rev 1 Contents
1
Documentation conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1.1
List of abbreviations for registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1.2
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
1.3
Peripheral availability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Doc ID 018940 Rev 1 3/742
3.5.8
Write protection register (FLASH_WRPR) . . . . . . . . . . . . . . . . . . . . . . . 58
3.6
Flash register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4
Option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
5
Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . 62
5.1
Introduction . . .
Doc ID 018940 Rev 1 7
Reset and clock control (RCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.1
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.1.1
System reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
7.1.2
Power reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Doc ID 018940 Rev 1 5/742
8.1
GPIO introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
8.2
GPIO main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
8.3
GPIO functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
8.3.1
General-purpose I/O (GPIO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Doc ID 018940 Rev 1 9.1.2
SYSCFG external interrupt configuration register 1
(SYSCFG_EXTICR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
9.1.3
SYSCFG external interrupt configuration register 2
(SYSCFG_EXTICR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
9.1.4
SYSCFG external interrupt configuration register 3
(SYSCFG_EXTICR3) . . . . . . . . . . . . . . . . . . .
Doc ID 018940 Rev 1 7/742
11.1.3
Interrupt and exception vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
11.2
Extended interrupts and events controller (EXTI) . . . . . . . . . . . . . . . . . 159
11.2.1
Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
11.2.2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Doc ID 018940 Rev 1 12.5.3
End of conversion, end of sampling phase (EOC, EOSMP flags) . . . . 180
12.5.4
End of conversion sequence (EOSEQ flag) . . . . . . . . . . . . . . . . . . . . . 180
12.5.5
Example timing diagrams (single/continuous modes . . . . . . . . . . . . . . . . .
hardware/software triggers) 181
12.6
Data management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
12.6.1
Data regi