Module stm32h7xx_hal::device::gpioa [−][src]
GPIO
Modules
afrh | GPIO alternate function high register |
afrl | GPIO alternate function low register |
bsrr | GPIO port bit set/reset register |
idr | GPIO port input data register |
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). |
moder | GPIO port mode register |
odr | GPIO port output data register |
ospeedr | GPIO port output speed register |
otyper | GPIO port output type register |
pupdr | GPIO port pull-up/pull-down register |
Structs
RegisterBlock | Register block |
Type Definitions
AFRH | GPIO alternate function high register |
AFRL | GPIO alternate function low register |
BSRR | GPIO port bit set/reset register |
IDR | GPIO port input data register |
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). |
MODER | GPIO port mode register |
ODR | GPIO port output data register |
OSPEEDR | GPIO port output speed register |
OTYPER | GPIO port output type register |
PUPDR | GPIO port pull-up/pull-down register |