\n

GPIO

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x400 byte (0x0)
mem_usage : registers
protection : not protected

Registers

MODER

IDR

ODR

BSRR

LCKR

AFRL

AFRH

OTYPER

OSPEEDR

PUPDR


MODER

GPIO port mode register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MODER MODER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MODER0 MODER1 MODER2 MODER3 MODER4 MODER5 MODER6 MODER7 MODER8 MODER9 MODER10 MODER11 MODER12 MODER13 MODER14 MODER15

MODER0 : MODER0
bits : 0 - 1 (2 bit)

MODER1 : MODER1
bits : 2 - 3 (2 bit)

MODER2 : MODER2
bits : 4 - 5 (2 bit)

MODER3 : MODER3
bits : 6 - 7 (2 bit)

MODER4 : MODER4
bits : 8 - 9 (2 bit)

MODER5 : MODER5
bits : 10 - 11 (2 bit)

MODER6 : MODER6
bits : 12 - 13 (2 bit)

MODER7 : MODER7
bits : 14 - 15 (2 bit)

MODER8 : MODER8
bits : 16 - 17 (2 bit)

MODER9 : MODER9
bits : 18 - 19 (2 bit)

MODER10 : MODER10
bits : 20 - 21 (2 bit)

MODER11 : MODER11
bits : 22 - 23 (2 bit)

MODER12 : MODER12
bits : 24 - 25 (2 bit)

MODER13 : MODER13
bits : 26 - 27 (2 bit)

MODER14 : MODER14
bits : 28 - 29 (2 bit)

MODER15 : MODER15
bits : 30 - 31 (2 bit)


IDR

GPIO port input data register
address_offset : 0x10 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

IDR IDR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 IDR0 IDR1 IDR2 IDR3 IDR4 IDR5 IDR6 IDR7 IDR8 IDR9 IDR10 IDR11 IDR12 IDR13 IDR14 IDR15

IDR0 : IDR0
bits : 0 - 0 (1 bit)

IDR1 : IDR1
bits : 1 - 1 (1 bit)

IDR2 : IDR2
bits : 2 - 2 (1 bit)

IDR3 : IDR3
bits : 3 - 3 (1 bit)

IDR4 : IDR4
bits : 4 - 4 (1 bit)

IDR5 : IDR5
bits : 5 - 5 (1 bit)

IDR6 : IDR6
bits : 6 - 6 (1 bit)

IDR7 : IDR7
bits : 7 - 7 (1 bit)

IDR8 : IDR8
bits : 8 - 8 (1 bit)

IDR9 : IDR9
bits : 9 - 9 (1 bit)

IDR10 : IDR10
bits : 10 - 10 (1 bit)

IDR11 : IDR11
bits : 11 - 11 (1 bit)

IDR12 : IDR12
bits : 12 - 12 (1 bit)

IDR13 : IDR13
bits : 13 - 13 (1 bit)

IDR14 : IDR14
bits : 14 - 14 (1 bit)

IDR15 : IDR15
bits : 15 - 15 (1 bit)


ODR

GPIO port output data register
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ODR ODR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ODR0 ODR1 ODR2 ODR3 ODR4 ODR5 ODR6 ODR7 ODR8 ODR9 ODR10 ODR11 ODR12 ODR13 ODR14 ODR15

ODR0 : ODR0
bits : 0 - 0 (1 bit)

ODR1 : ODR1
bits : 1 - 1 (1 bit)

ODR2 : ODR2
bits : 2 - 2 (1 bit)

ODR3 : ODR3
bits : 3 - 3 (1 bit)

ODR4 : ODR4
bits : 4 - 4 (1 bit)

ODR5 : ODR5
bits : 5 - 5 (1 bit)

ODR6 : ODR6
bits : 6 - 6 (1 bit)

ODR7 : ODR7
bits : 7 - 7 (1 bit)

ODR8 : ODR8
bits : 8 - 8 (1 bit)

ODR9 : ODR9
bits : 9 - 9 (1 bit)

ODR10 : ODR10
bits : 10 - 10 (1 bit)

ODR11 : ODR11
bits : 11 - 11 (1 bit)

ODR12 : ODR12
bits : 12 - 12 (1 bit)

ODR13 : ODR13
bits : 13 - 13 (1 bit)

ODR14 : ODR14
bits : 14 - 14 (1 bit)

ODR15 : ODR15
bits : 15 - 15 (1 bit)


BSRR

GPIO port bit set/reset register
address_offset : 0x18 Bytes (0x0)
access : write-only
reset_value : 0x0
reset_Mask : 0x0

BSRR BSRR write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BS0 BS1 BS2 BS3 BS4 BS5 BS6 BS7 BS8 BS9 BS10 BS11 BS12 BS13 BS14 BS15 BR0 BR1 BR2 BR3 BR4 BR5 BR6 BR7 BR8 BR9 BR10 BR11 BR12 BR13 BR14 BR15

BS0 : BS0
bits : 0 - 0 (1 bit)

BS1 : BS1
bits : 1 - 1 (1 bit)

BS2 : BS2
bits : 2 - 2 (1 bit)

BS3 : BS3
bits : 3 - 3 (1 bit)

BS4 : BS4
bits : 4 - 4 (1 bit)

BS5 : BS5
bits : 5 - 5 (1 bit)

BS6 : BS6
bits : 6 - 6 (1 bit)

BS7 : BS7
bits : 7 - 7 (1 bit)

BS8 : BS8
bits : 8 - 8 (1 bit)

BS9 : BS9
bits : 9 - 9 (1 bit)

BS10 : BS10
bits : 10 - 10 (1 bit)

BS11 : BS11
bits : 11 - 11 (1 bit)

BS12 : BS12
bits : 12 - 12 (1 bit)

BS13 : BS13
bits : 13 - 13 (1 bit)

BS14 : BS14
bits : 14 - 14 (1 bit)

BS15 : BS15
bits : 15 - 15 (1 bit)

BR0 : BR0
bits : 16 - 16 (1 bit)

BR1 : BR1
bits : 17 - 17 (1 bit)

BR2 : BR2
bits : 18 - 18 (1 bit)

BR3 : BR3
bits : 19 - 19 (1 bit)

BR4 : BR4
bits : 20 - 20 (1 bit)

BR5 : BR5
bits : 21 - 21 (1 bit)

BR6 : BR6
bits : 22 - 22 (1 bit)

BR7 : BR7
bits : 23 - 23 (1 bit)

BR8 : BR8
bits : 24 - 24 (1 bit)

BR9 : BR9
bits : 25 - 25 (1 bit)

BR10 : BR10
bits : 26 - 26 (1 bit)

BR11 : BR11
bits : 27 - 27 (1 bit)

BR12 : BR12
bits : 28 - 28 (1 bit)

BR13 : BR13
bits : 29 - 29 (1 bit)

BR14 : BR14
bits : 30 - 30 (1 bit)

BR15 : BR15
bits : 31 - 31 (1 bit)


LCKR

GPIO port configuration lock register
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

LCKR LCKR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LCK0 LCK1 LCK2 LCK3 LCK4 LCK5 LCK6 LCK7 LCK8 LCK9 LCK10 LCK11 LCK12 LCK13 LCK14 LCK15 LCKK

LCK0 : LCK0
bits : 0 - 0 (1 bit)

LCK1 : LCK1
bits : 1 - 1 (1 bit)

LCK2 : LCK2
bits : 2 - 2 (1 bit)

LCK3 : LCK3
bits : 3 - 3 (1 bit)

LCK4 : LCK4
bits : 4 - 4 (1 bit)

LCK5 : LCK5
bits : 5 - 5 (1 bit)

LCK6 : LCK6
bits : 6 - 6 (1 bit)

LCK7 : LCK7
bits : 7 - 7 (1 bit)

LCK8 : LCK8
bits : 8 - 8 (1 bit)

LCK9 : LCK9
bits : 9 - 9 (1 bit)

LCK10 : LCK10
bits : 10 - 10 (1 bit)

LCK11 : LCK11
bits : 11 - 11 (1 bit)

LCK12 : LCK12
bits : 12 - 12 (1 bit)

LCK13 : LCK13
bits : 13 - 13 (1 bit)

LCK14 : LCK14
bits : 14 - 14 (1 bit)

LCK15 : LCK15
bits : 15 - 15 (1 bit)

LCKK : LCKK
bits : 16 - 16 (1 bit)


AFRL

GPIO alternate function low register
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

AFRL AFRL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AFRL0 AFRL1 AFRL2 AFRL3 AFRL4 AFRL5 AFRL6 AFRL7

AFRL0 : AFRL0
bits : 0 - 3 (4 bit)

AFRL1 : AFRL1
bits : 4 - 7 (4 bit)

AFRL2 : AFRL2
bits : 8 - 11 (4 bit)

AFRL3 : AFRL3
bits : 12 - 15 (4 bit)

AFRL4 : AFRL4
bits : 16 - 19 (4 bit)

AFRL5 : AFRL5
bits : 20 - 23 (4 bit)

AFRL6 : AFRL6
bits : 24 - 27 (4 bit)

AFRL7 : AFRL7
bits : 28 - 31 (4 bit)


AFRH

GPIO alternate function high register
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

AFRH AFRH read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AFRL8 AFRL9 AFRL10 AFRL11 AFRL12 AFRL13 AFRL14 AFRL15

AFRL8 : AFRL8
bits : 0 - 3 (4 bit)

AFRL9 : AFRL9
bits : 4 - 7 (4 bit)

AFRL10 : AFRL10
bits : 8 - 11 (4 bit)

AFRL11 : AFRL11
bits : 12 - 15 (4 bit)

AFRL12 : AFRL12
bits : 16 - 19 (4 bit)

AFRL13 : AFRL13
bits : 20 - 23 (4 bit)

AFRL14 : AFRL14
bits : 24 - 27 (4 bit)

AFRL15 : AFRL15
bits : 28 - 31 (4 bit)


OTYPER

GPIO port output type register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

OTYPER OTYPER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OT0 OT1 OT2 OT3 OT4 OT5 OT6 OT7 OT8 OT9 OT10 OT11 OT12 OT13 OT14 OT15

OT0 : OT0
bits : 0 - 0 (1 bit)

OT1 : OT1
bits : 1 - 1 (1 bit)

OT2 : OT2
bits : 2 - 2 (1 bit)

OT3 : OT3
bits : 3 - 3 (1 bit)

OT4 : OT4
bits : 4 - 4 (1 bit)

OT5 : OT5
bits : 5 - 5 (1 bit)

OT6 : OT6
bits : 6 - 6 (1 bit)

OT7 : OT7
bits : 7 - 7 (1 bit)

OT8 : OT8
bits : 8 - 8 (1 bit)

OT9 : OT9
bits : 9 - 9 (1 bit)

OT10 : OT10
bits : 10 - 10 (1 bit)

OT11 : OT11
bits : 11 - 11 (1 bit)

OT12 : OT12
bits : 12 - 12 (1 bit)

OT13 : OT13
bits : 13 - 13 (1 bit)

OT14 : OT14
bits : 14 - 14 (1 bit)

OT15 : OT15
bits : 15 - 15 (1 bit)


OSPEEDR

GPIO port output speed register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

OSPEEDR OSPEEDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OSPEEDR0 OSPEEDR1 OSPEEDR2 OSPEEDR3 OSPEEDR4 OSPEEDR5 OSPEEDR6 OSPEEDR7 OSPEEDR8 OSPEEDR9 OSPEEDR10 OSPEEDR11 OSPEEDR12 OSPEEDR13 OSPEEDR14 OSPEEDR15

OSPEEDR0 : OSPEEDR0
bits : 0 - 0 (1 bit)

OSPEEDR1 : OSPEEDR1
bits : 1 - 1 (1 bit)

OSPEEDR2 : OSPEEDR2
bits : 2 - 2 (1 bit)

OSPEEDR3 : OSPEEDR3
bits : 3 - 3 (1 bit)

OSPEEDR4 : OSPEEDR4
bits : 4 - 4 (1 bit)

OSPEEDR5 : OSPEEDR5
bits : 5 - 5 (1 bit)

OSPEEDR6 : OSPEEDR6
bits : 6 - 6 (1 bit)

OSPEEDR7 : OSPEEDR7
bits : 7 - 7 (1 bit)

OSPEEDR8 : OSPEEDR8
bits : 8 - 8 (1 bit)

OSPEEDR9 : OSPEEDR9
bits : 9 - 9 (1 bit)

OSPEEDR10 : OSPEEDR10
bits : 10 - 10 (1 bit)

OSPEEDR11 : OSPEEDR11
bits : 11 - 11 (1 bit)

OSPEEDR12 : OSPEEDR12
bits : 12 - 12 (1 bit)

OSPEEDR13 : OSPEEDR13
bits : 13 - 13 (1 bit)

OSPEEDR14 : OSPEEDR14
bits : 14 - 14 (1 bit)

OSPEEDR15 : OSPEEDR15
bits : 15 - 15 (1 bit)


PUPDR

GPIO port pull-up/pull-down register
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PUPDR PUPDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUPDR0 PUPDR1 PUPDR2 PUPDR3 PUPDR4 PUPDR5 PUPDR6 PUPDR7 PUPDR8 PUPDR9 PUPDR10 PUPDR11 PUPDR12 PUPDR13 PUPDR14 PUPDR15

PUPDR0 : PUPDR0
bits : 0 - 1 (2 bit)

PUPDR1 : PUPDR1
bits : 2 - 3 (2 bit)

PUPDR2 : PUPDR2
bits : 4 - 5 (2 bit)

PUPDR3 : PUPDR3
bits : 6 - 7 (2 bit)

PUPDR4 : PUPDR4
bits : 8 - 9 (2 bit)

PUPDR5 : PUPDR5
bits : 10 - 11 (2 bit)

PUPDR6 : PUPDR6
bits : 12 - 13 (2 bit)

PUPDR7 : PUPDR7
bits : 14 - 15 (2 bit)

PUPDR8 : PUPDR8
bits : 16 - 17 (2 bit)

PUPDR9 : PUPDR9
bits : 18 - 19 (2 bit)

PUPDR10 : PUPDR10
bits : 20 - 21 (2 bit)

PUPDR11 : PUPDR11
bits : 22 - 23 (2 bit)

PUPDR12 : PUPDR12
bits : 24 - 25 (2 bit)

PUPDR13 : PUPDR13
bits : 26 - 27 (2 bit)

PUPDR14 : PUPDR14
bits : 28 - 29 (2 bit)

PUPDR15 : PUPDR15
bits : 30 - 31 (2 bit)



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.