Gpio Port Output Speed Register (Gpiox_Ospeedr); (X = A; Gpio Port Pull-Up/Pull-Down Register (Gpiox_Pupdr) - STMicroelectronics RM0365 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

General-purpose I/Os (GPIO)
10.4.3

GPIO port output speed register (GPIOx_OSPEEDR)

(x = A..H)
Address offset: 0x08
Reset value:
0xC000 0000 for port A
0x0000 00C0 for port B
0x0000 0000 for other ports
31
30
29
OSPEEDR15
OSPEEDR14
[1:0]
[1:0]
rw
rw
rw
15
14
13
OSPEEDR7
OSPEEDR6
[1:0]
[1:0]
rw
rw
rw
Bits 2y+1:2y OSPEEDRy[1:0]: Port x configuration bits (y = 0..15)
These bits are written by software to configure the I/O output speed.
Note: Refer to the device datasheet for the frequency specifications and the power supply
10.4.4

GPIO port pull-up/pull-down register (GPIOx_PUPDR)

(x = A..H)
Address offset: 0x0C
Reset values:
0x6400 0000 for port A
0x0000 0100 for port B
0x0C00 0000 for other ports
31
30
29
28
PUPDR15[1:0]
PUPDR14[1:0]
rw
rw
rw
rw
15
14
13
12
PUPDR7[1:0]
PUPDR6[1:0]
rw
rw
rw
rw
Bits 2y+1:2y PUPDRy[1:0]: Port x configuration bits (y = 0..15)
These bits are written by software to configure the I/O pull-up or pull-down
165/1080
28
27
26
25
OSPEEDR13
OSPEEDR12
[1:0]
rw
rw
rw
rw
12
11
10
9
OSPEEDR5
OSPEEDR4
[1:0]
rw
rw
rw
rw
x0: Low speed
01: Medium speed
11: High speed
and load conditions for each speed.
27
26
25
PUPDR13[1:0]
PUPDR12[1:0]
rw
rw
rw
11
10
9
PUPDR5[1:0]
PUPDR4[1:0]
rw
rw
rw
00: No pull-up, pull-down
01: Pull-up
10: Pull-down
11: Reserved
DocID025202 Rev 7
24
23
22
OSPEEDR11
[1:0]
[1:0]
rw
rw
rw
8
7
6
OSPEEDR3
[1:0]
[1:0]
rw
rw
rw
24
23
22
PUPDR11[1:0]
rw
rw
rw
8
7
6
PUPDR3[1:0]
rw
rw
rw
21
20
19
OSPEEDR10
OSPEEDR9
[1:0]
[1:0]
rw
rw
rw
5
4
3
OSPEEDR2
OSPEEDR1
[1:0]
[1:0]
rw
rw
rw
21
20
19
18
PUPDR10[1:0]
PUPDR9[1:0]
rw
rw
rw
rw
5
4
3
2
PUPDR2[1:0]
PUPDR1[1:0]
rw
rw
rw
rw
RM0365
18
17
16
OSPEEDR8
[1:0]
rw
rw
rw
2
1
0
OSPEEDR0
[1:0]
rw
rw
rw
17
16
PUPDR8[1:0]
rw
rw
1
0
PUPDR0[1:0]
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RM0365 and is the answer not in the manual?

Table of Contents