Module stm32_hal2::gpio [−][src]
Expand description
This module provides functionality for General Purpose Input and Output (GPIO) pins, including all GPIOx register functions. It also configures GPIO interrupts using SYSCFG and EXTI registers as appropriate.
Structs
Represents a single GPIO pin. Allows configuration, and reading/setting state.
Enums
Values for `GPIOx_LCKR.
The pulse edge used to trigger interrupts.
Values for GPIOx_OSPEEDR
. This configures I/O output speed. See the user manual
for your MCU for what speeds these are. Note that Fast speed (0b10) is not
available on all STM32 families.
Values for GPIOx_OTYPER
Values for GPIOx_MODER
Values for GPIOx_IDR
and GPIOx_ODR
.
GPIO port letter
Values for GPIOx_PUPDR
Values for GPIOx_BRR
.