ST STM32L4x6 Reference Manual page 265

Table of Contents

Advertisement

RM0351
7.4.3
GPIO port output speed register (GPIOx_OSPEEDR)
(x = A..H)
Address offset: 0x08
Reset value:
0x0C00 0000 for port A
0x0000 0000 for the other ports
31
30
29
OSPEED15
OSPEED14
[1:0]
[1:0]
rw
rw
rw
15
14
13
OSPEED7
OSPEED6
[1:0]
[1:0]
rw
rw
rw
Bits 2y+1:2y OSPEEDy[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
7.4.4
GPIO port pull-up/pull-down register (GPIOx_PUPDR)
(x = A..H)
Address offset: 0x0C
Reset values:
0x1210 0000 for port A
0x6400 0000 for port B
0x0000 0000 for other ports
31
30
29
28
PUPD15[1:0]
PUPD14[1:0]
rw
rw
rw
rw
15
14
13
12
PUPD7[1:0]
PUPD6[1:0]
rw
rw
rw
rw
Bits 2y+1:2y PUPDy[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
28
27
26
25
OSPEED13
OSPEED12
[1:0]
rw
rw
rw
rw
12
11
10
9
OSPEED5
OSPEED4
[1:0]
rw
rw
rw
rw
00: Low speed
01: Medium speed
10: High speed
11: Very high speed
and load conditions for each speed.
27
26
25
PUPD13[1:0]
PUPD12[1:0]
rw
rw
rw
11
10
9
PUPD5[1:0]
PUPD4[1:0]
rw
rw
rw
00: No pull-up, pull-down
01: Pull-up
10: Pull-down
11: Reserved
DocID024597 Rev 3
24
23
22
OSPEED11
[1:0]
[1:0]
rw
rw
rw
8
7
6
OSPEED3
[1:0]
[1:0]
rw
rw
rw
24
23
22
PUPD11[1:0]
rw
rw
rw
8
7
6
PUPD3[1:0]
rw
rw
rw
General-purpose I/Os (GPIO)
21
20
19
18
OSPEED10
OSPEED9
[1:0]
[1:0]
rw
rw
rw
rw
5
4
3
OSPEED2
OSPEED1
[1:0]
[1:0]
rw
rw
rw
rw
21
20
19
18
PUPD10[1:0]
PUPD9[1:0]
rw
rw
rw
rw
5
4
3
2
PUPD2[1:0]
PUPD1[1:0]
rw
rw
rw
rw
17
16
OSPEED8
[1:0]
rw
rw
2
1
0
OSPEED0
[1:0]
rw
rw
17
16
PUPD8[1:0]
rw
rw
1
0
PUPD0[1:0]
rw
rw
265/1693
272

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF