va108xx_hal/gpio/
mod.rs

1//! GPIO support module.
2//!
3//! Contains abstractions to use the pins provided by the [crate::pins] module as GPIO or
4//! IO peripheral pins.
5//!
6//! The core data structures provided for this are the
7//!
8//! - [Output] for push-pull output pins.
9//! - [Input] for input pins.
10//! - [Flex] for pins with flexible configuration requirements.
11//! - [IoPeriphPin] for IO peripheral pins.
12//!
13//! The [crate::pins] module exposes singletons to access the [Pin]s required by this module
14//! in a type-safe way.
15//!
16//! ## Examples
17//!
18//! - [Blinky example](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/examples/simple/examples/blinky.rs)
19//! - [Async GPIO example](https://egit.irs.uni-stuttgart.de/rust/va108xx-rs/src/branch/main/examples/embassy/src/bin/async-gpio.rs)
20pub use vorago_shared_hal::gpio::*;