\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)
size : 32 bit
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 MODE0 MODE1 MODE2 MODE3 MODE4 MODE5 MODE6 MODE7 MODE8 MODE9 MODE10 MODE11 MODE12 MODE13 MODE14 MODE15

MODE0 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 0 - 1 (2 bit)

MODE1 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 2 - 3 (2 bit)

MODE2 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 4 - 5 (2 bit)

MODE3 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 6 - 7 (2 bit)

MODE4 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 8 - 9 (2 bit)

MODE5 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 10 - 11 (2 bit)

MODE6 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 12 - 13 (2 bit)

MODE7 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 14 - 15 (2 bit)

MODE8 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 16 - 17 (2 bit)

MODE9 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 18 - 19 (2 bit)

MODE10 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 20 - 21 (2 bit)

MODE11 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 22 - 23 (2 bit)

MODE12 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 24 - 25 (2 bit)

MODE13 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 26 - 27 (2 bit)

MODE14 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 28 - 29 (2 bit)

MODE15 : [1:0]: Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O mode.
bits : 30 - 31 (2 bit)


IDR

GPIO port input data register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
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 ID0 ID1 ID2 ID3 ID4 ID5 ID6 ID7 ID8 ID9 ID10 ID11 ID12 ID13 ID14 ID15

ID0 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 0 - 0 (1 bit)

ID1 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 1 - 1 (1 bit)

ID2 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 2 - 2 (1 bit)

ID3 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 3 - 3 (1 bit)

ID4 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 4 - 4 (1 bit)

ID5 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 5 - 5 (1 bit)

ID6 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 6 - 6 (1 bit)

ID7 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 7 - 7 (1 bit)

ID8 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 8 - 8 (1 bit)

ID9 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 9 - 9 (1 bit)

ID10 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 10 - 10 (1 bit)

ID11 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 11 - 11 (1 bit)

ID12 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 12 - 12 (1 bit)

ID13 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 13 - 13 (1 bit)

ID14 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 14 - 14 (1 bit)

ID15 : Port input data bit (y = 0..15) These bits are read-only. They contain the input value of the corresponding I/O port.
bits : 15 - 15 (1 bit)


ODR

GPIO port output data register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
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 OD0 OD1 OD2 OD3 OD4 OD5 OD6 OD7 OD8 OD9 OD10 OD11 OD12 OD13 OD14 OD15

OD0 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 0 - 0 (1 bit)

OD1 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 1 - 1 (1 bit)

OD2 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 2 - 2 (1 bit)

OD3 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 3 - 3 (1 bit)

OD4 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 4 - 4 (1 bit)

OD5 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 5 - 5 (1 bit)

OD6 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 6 - 6 (1 bit)

OD7 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 7 - 7 (1 bit)

OD8 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 8 - 8 (1 bit)

OD9 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 9 - 9 (1 bit)

OD10 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 10 - 10 (1 bit)

OD11 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 11 - 11 (1 bit)

OD12 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 12 - 12 (1 bit)

OD13 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 13 - 13 (1 bit)

OD14 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 14 - 14 (1 bit)

OD15 : Port output data bit These bits can be read and written by software. Note: For atomic bit set/reset, the OD bits can be individually set and/or reset by writing to the GPIOx_BSRR or GPIOx_BRR registers (x = A..F).
bits : 15 - 15 (1 bit)


BSRR

GPIO port bit set/reset register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
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 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 0 - 0 (1 bit)

BS1 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 1 - 1 (1 bit)

BS2 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 2 - 2 (1 bit)

BS3 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 3 - 3 (1 bit)

BS4 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 4 - 4 (1 bit)

BS5 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 5 - 5 (1 bit)

BS6 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 6 - 6 (1 bit)

BS7 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 7 - 7 (1 bit)

BS8 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 8 - 8 (1 bit)

BS9 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 9 - 9 (1 bit)

BS10 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 10 - 10 (1 bit)

BS11 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 11 - 11 (1 bit)

BS12 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 12 - 12 (1 bit)

BS13 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 13 - 13 (1 bit)

BS14 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 14 - 14 (1 bit)

BS15 : Port x set bit y (y= 0..15) These bits are write-only. A read to these bits returns the value 0x0000.
bits : 15 - 15 (1 bit)

BR0 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 16 - 16 (1 bit)

BR1 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 17 - 17 (1 bit)

BR2 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 18 - 18 (1 bit)

BR3 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 19 - 19 (1 bit)

BR4 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 20 - 20 (1 bit)

BR5 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 21 - 21 (1 bit)

BR6 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 22 - 22 (1 bit)

BR7 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 23 - 23 (1 bit)

BR8 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 24 - 24 (1 bit)

BR9 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 25 - 25 (1 bit)

BR10 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 26 - 26 (1 bit)

BR11 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 27 - 27 (1 bit)

BR12 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 28 - 28 (1 bit)

BR13 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 29 - 29 (1 bit)

BR14 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 30 - 30 (1 bit)

BR15 : Port x reset bit y (y = 0..15) These bits are write-only. A read to these bits returns the value 0x0000. Note: If both BSx and BRx are set, BSx has priority.
bits : 31 - 31 (1 bit)


LCKR

This register is used to lock the configuration of the port bits when a correct write sequence is applied to bit 16 (LCKK). The value of bits [15:0] is used to lock the configuration of the GPIO. During the write sequence, the value of LCKR[15:0] must not change. When the LOCK sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next MCU reset or peripheral reset.A specific write sequence is used to write to the GPIOx_LCKR register. Only word access (32-bit long) is allowed during this locking sequence.Each lock bit freezes a specific configuration register (control and alternate function registers).
address_offset : 0x1C Bytes (0x0)
size : 32 bit
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 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 0 - 0 (1 bit)

LCK1 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 1 - 1 (1 bit)

LCK2 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 2 - 2 (1 bit)

LCK3 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 3 - 3 (1 bit)

LCK4 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 4 - 4 (1 bit)

LCK5 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 5 - 5 (1 bit)

LCK6 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 6 - 6 (1 bit)

LCK7 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 7 - 7 (1 bit)

LCK8 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 8 - 8 (1 bit)

LCK9 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 9 - 9 (1 bit)

LCK10 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 10 - 10 (1 bit)

LCK11 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 11 - 11 (1 bit)

LCK12 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 12 - 12 (1 bit)

LCK13 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 13 - 13 (1 bit)

LCK14 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 14 - 14 (1 bit)

LCK15 : Port x lock bit y (y= 0..15) These bits are read/write but can only be written when the LCKK bit is 0.
bits : 15 - 15 (1 bit)

LCKK : Lock key This bit can be read any time. It can only be modified using the lock key write sequence. LOCK key write sequence: WR LCKR[16] = 1 + LCKR[15:0] WR LCKR[16] = 0 + LCKR[15:0] WR LCKR[16] = 1 + LCKR[15:0] RD LCKR RD LCKR[16] = 1 (this read operation is optional but it confirms that the lock is active) Note: During the LOCK key write sequence, the value of LCK[15:0] must not change. Any error in the lock sequence aborts the lock. After the first lock sequence on any bit of the port, any read access on the LCKK bit will return 1 until the next MCU reset or peripheral reset.
bits : 16 - 16 (1 bit)


AFRL

GPIO alternate function low register
address_offset : 0x20 Bytes (0x0)
size : 32 bit
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 AFSEL0 AFSEL1 AFSEL2 AFSEL3 AFSEL4 AFSEL5 AFSEL6 AFSEL7

AFSEL0 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 0 - 3 (4 bit)

AFSEL1 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 4 - 7 (4 bit)

AFSEL2 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 8 - 11 (4 bit)

AFSEL3 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 12 - 15 (4 bit)

AFSEL4 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 16 - 19 (4 bit)

AFSEL5 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 20 - 23 (4 bit)

AFSEL6 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 24 - 27 (4 bit)

AFSEL7 : [3:0]: Alternate function selection for port x pin y (y = 0..7) These bits are written by software to configure alternate function I/Os AFSELy selection:
bits : 28 - 31 (4 bit)


AFRH

GPIO alternate function high register
address_offset : 0x24 Bytes (0x0)
size : 32 bit
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 AFSEL8 AFSEL9 AFSEL10 AFSEL11 AFSEL12 AFSEL13 AFSEL14 AFSEL15

AFSEL8 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 0 - 3 (4 bit)

AFSEL9 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 4 - 7 (4 bit)

AFSEL10 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 8 - 11 (4 bit)

AFSEL11 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 12 - 15 (4 bit)

AFSEL12 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 16 - 19 (4 bit)

AFSEL13 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 20 - 23 (4 bit)

AFSEL14 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 24 - 27 (4 bit)

AFSEL15 : [3:0]: Alternate function selection for port x pin y (y = 8..15) These bits are written by software to configure alternate function I/Os
bits : 28 - 31 (4 bit)


OTYPER

GPIO port output type register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
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 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 0 - 0 (1 bit)

OT1 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 1 - 1 (1 bit)

OT2 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 2 - 2 (1 bit)

OT3 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 3 - 3 (1 bit)

OT4 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 4 - 4 (1 bit)

OT5 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 5 - 5 (1 bit)

OT6 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 6 - 6 (1 bit)

OT7 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 7 - 7 (1 bit)

OT8 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 8 - 8 (1 bit)

OT9 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 9 - 9 (1 bit)

OT10 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 10 - 10 (1 bit)

OT11 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 11 - 11 (1 bit)

OT12 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 12 - 12 (1 bit)

OT13 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 13 - 13 (1 bit)

OT14 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 14 - 14 (1 bit)

OT15 : Port x configuration bits (y = 0..15) These bits are written by software to configure the I/O output type.
bits : 15 - 15 (1 bit)


OSPEEDR

GPIO port output speed register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
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 OSPEED0 OSPEED1 OSPEED2 OSPEED3 OSPEED4 OSPEED5 OSPEED6 OSPEED7 OSPEED8 OSPEED9 OSPEED10 OSPEED11 OSPEED12 OSPEED13 OSPEED14 OSPEED15

OSPEED0 : [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 and load conditions for each speed.
bits : 0 - 1 (2 bit)

OSPEED1 : [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 and load conditions for each speed.
bits : 2 - 3 (2 bit)

OSPEED2 : [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 and load conditions for each speed.
bits : 4 - 5 (2 bit)

OSPEED3 : [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 and load conditions for each speed.
bits : 6 - 7 (2 bit)

OSPEED4 : [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 and load conditions for each speed.
bits : 8 - 9 (2 bit)

OSPEED5 : [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 and load conditions for each speed.
bits : 10 - 11 (2 bit)

OSPEED6 : [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 and load conditions for each speed.
bits : 12 - 13 (2 bit)

OSPEED7 : [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 and load conditions for each speed.
bits : 14 - 15 (2 bit)

OSPEED8 : [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 and load conditions for each speed.
bits : 16 - 17 (2 bit)

OSPEED9 : [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 and load conditions for each speed.
bits : 18 - 19 (2 bit)

OSPEED10 : [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 and load conditions for each speed.
bits : 20 - 21 (2 bit)

OSPEED11 : [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 and load conditions for each speed.
bits : 22 - 23 (2 bit)

OSPEED12 : [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 and load conditions for each speed.
bits : 24 - 25 (2 bit)

OSPEED13 : [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 and load conditions for each speed.
bits : 26 - 27 (2 bit)

OSPEED14 : [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 and load conditions for each speed.
bits : 28 - 29 (2 bit)

OSPEED15 : [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 and load conditions for each speed.
bits : 30 - 31 (2 bit)


PUPDR

GPIO port pull-up/pull-down register
address_offset : 0xC Bytes (0x0)
size : 32 bit
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 PUPD0 PUPD1 PUPD2 PUPD3 PUPD4 PUPD5 PUPD6 PUPD7 PUPD8 PUPD9 PUPD10 PUPD11 PUPD12 PUPD13 PUPD14 PUPD15

PUPD0 : [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
bits : 0 - 1 (2 bit)

PUPD1 : [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
bits : 2 - 3 (2 bit)

PUPD2 : [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
bits : 4 - 5 (2 bit)

PUPD3 : [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
bits : 6 - 7 (2 bit)

PUPD4 : [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
bits : 8 - 9 (2 bit)

PUPD5 : [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
bits : 10 - 11 (2 bit)

PUPD6 : [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
bits : 12 - 13 (2 bit)

PUPD7 : [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
bits : 14 - 15 (2 bit)

PUPD8 : [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
bits : 16 - 17 (2 bit)

PUPD9 : [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
bits : 18 - 19 (2 bit)

PUPD10 : [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
bits : 20 - 21 (2 bit)

PUPD11 : [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
bits : 22 - 23 (2 bit)

PUPD12 : [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
bits : 24 - 25 (2 bit)

PUPD13 : [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
bits : 26 - 27 (2 bit)

PUPD14 : [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
bits : 28 - 29 (2 bit)

PUPD15 : [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
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.