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 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.
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. THIS IS EXPERIMENTAL. PLEASE USE GpioAPin etc instead.
Enums
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.