Module stm32_hal2::gpio [−][src]
Expand description
This module provides functionality for General Purpose Input and Output (GPIO) pins,
including all GPIOx register functions, and interrupts.
It includes implementations of embedded-hal
pin abstraction.
Structs
Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its regs
field as a mutable reference to GpioXPin
methods.
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its regs
field as a mutable reference to GpioXPin
methods.
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its regs
field as a mutable reference to GpioXPin
methods.
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its regs
field as a mutable reference to GpioXPin
methods.
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its regs
field as a mutable reference to GpioXPin
methods.
Represents a single GPIO pin. Provides methods that, when passed a mutable reference to its port’s register block, can change and read various properties of the pin.
Enums
Values for GPIOx_AFRL
and GPIOx_AFRH
.
Values for `GPIOx_LCKR.
Values for GPIOx_OspeedrPEEDR
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
.