Module stm32_hal2::gpio [−][src]
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
| GpioA | Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its |
| GpioAPin | 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. |
| GpioB | Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its |
| GpioBPin | 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. |
| GpioC | Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its |
| GpioCPin | 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. |
| GpioD | Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its |
| GpioDPin | 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. |
| GpioE | Represents a single GPIO port, and owns its register block. Provides
methods to enable the port. To change pin properties, pass its |
| GpioEPin | 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
| AltFn | Values for |
| CfgLock | Values for `GPIOx_LCKR. |
| Edge | |
| OutputSpeed | Values for |
| OutputType | Values for |
| PinMode | Values for |
| PinNum | Pin number; 0 through 15. For example, use 5 for PA5 or PB5. |
| PinState | Values for |
| PortLetter | GPIO port letter |
| Pull | Values for |
| ResetState | Values for |