EasyManuals Logo

ST STM32F102 series User Manual

ST STM32F102 series
690 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #5 background imageLoading...
Page #5 background image
RM0008 Contents
5/690
7.2.7 Port configuration lock register (GPIOx_LCKR) (x=A..G) . . . . . . . . . . 109
7.3 Alternate function I/O and debug configuration (AFIO) . . . . . . . . . . . . . 110
7.3.1 Using OSC32_IN/OSC32_OUT pins as GPIO ports PC14/PC15 . . . . 110
7.3.2 Using OSC_IN/OSC_OUT pins as GPIO ports PD0/PD1 . . . . . . . . . . 110
7.3.3 BXCAN alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . 110
7.3.4 JTAG/SWD alternate function remapping . . . . . . . . . . . . . . . . . . . . . . 110
7.3.5 ADC alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
7.3.6 Timer alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
7.3.7 USART Alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . 114
7.3.8 I2C 1 alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
7.3.9 SPI 1 alternate function remapping . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
7.4 AFIO registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
7.4.1 Event control register (AFIO_EVCR) . . . . . . . . . . . . . . . . . . . . . . . . . . 116
7.4.2 AF remap and debug I/O configuration register (AFIO_MAPR) . . . . . . 117
7.4.3 External interrupt configuration register 1 (AFIO_EXTICR1) . . . . . . . . 119
7.4.4 External interrupt configuration register 2 (AFIO_EXTICR2) . . . . . . . . 120
7.4.5 External interrupt configuration register 3 (AFIO_EXTICR3) . . . . . . . . 120
7.4.6 External interrupt configuration register 4 (AFIO_EXTICR4) . . . . . . . . 121
7.5 GPIO and AFIO register maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
8 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
8.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 123
8.1.1 SysTick calibration value register . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
8.1.2 Interrupt and exception vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
8.2 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . 126
8.2.1 Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
8.2.2 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
8.2.3 Wakeup event management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
8.2.4 Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
8.2.5 External interrupt/event line mapping . . . . . . . . . . . . . . . . . . . . . . . . . 128
8.3 EXTI registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.3.1 Interrupt mask register (EXTI_IMR) . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.3.2 Event mask register (EXTI_EMR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
8.3.3 Rising trigger selection register (EXTI_RTSR) . . . . . . . . . . . . . . . . . . 131
8.3.4 Falling trigger selection register (EXTI_FTSR) . . . . . . . . . . . . . . . . . . 131
8.3.5 Software interrupt event register (EXTI_SWIER) . . . . . . . . . . . . . . . . . 132

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F102 series and is the answer not in the manual?

ST STM32F102 series Specifications

General IconGeneral
BrandST
ModelSTM32F102 series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals