microbit_common/
gpio.rs

1//! Named GPIO pin types
2//!
3//! This module maps the GPIO pin names as described in the
4//! [Pins and Signals section of the micro:bit site](https://tech.microbit.org/hardware/edgeconnector/#pins-and-signals)
5//! Where appropriate the pins are restricted with the appropriate `MODE`
6//! from `nrf-hal`.
7#[cfg(feature = "v1")]
8pub use crate::v1::gpio::*;
9
10#[cfg(feature = "v2")]
11pub use crate::v2::gpio::*;