EasyManuals Logo

ST STM32F10 Series User Manual

ST STM32F10 Series
519 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 #81 background imageLoading...
Page #81 background image
UM0306 General purpose and alternate function I/O (GPIO and AFIO)
81/519
5.2.2 Port configuration register high (GPIOx_CRH) (x=A..E)
Address Offset: 04h
Reset value: 4444 4444h
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
CNF15[1:0] MODE15[1:0] CNF14[1:0] MODE14[1:0] CNF13[1:0] MODE13[1:0] CNF12[1:0] MODE12[1:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
1514131211109876543210
CNF11[1:0] MODE11[1:0] CNF10[1:0] MODE10[1:0] CNF9[1:0] MODE9[1:0] CNF8[1:0] MODE8[1:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 31:30, 27:26,
23:22, 19:18,
15:14, 11:10, 7:6,
3:2
CNFx[1:0]: Port x configuration bits (x= 8 .. 15)
These bits are written by software to configure the corresponding I/O port.
Refer to Table 11: Port bit configuration table on page 74.
In input mode (MODE[1:0]=00):
00: Analog input mode
01: Floating input (reset state)
10: Input with pull-up / pull-down
11: Reserved
In output mode (MODE[1:0]
> 00):
00: General purpose output push-pull
01: General purpose output Open-drain
10: Alternate function output Push-pull
11: Alternate function output Open-drain
Bits 29:28, 25:24,
21:20, 17:16,
13:12, 9:8, 5:4, 1:0
MODEx[1:0]: Port x.x mode bits (x= 8 .. 15)
These bits are written by software to configure the corresponding I/O port.
Refer to Table 11: Port bit configuration table on page 74.
00: Input mode (reset state)
01: Output mode, max speed 2 MHz.
10: Output mode, max speed 10 MHz.
11: Output mode, max speed 50 MHz.
www.BDTIC.com/ST

Table of Contents

Other manuals for ST STM32F10 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F10 Series and is the answer not in the manual?

ST STM32F10 Series Specifications

General IconGeneral
BrandST
ModelSTM32F10 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals