Skip to content

Commit

Permalink
gpio: show raw inner implementation Padv1 and Padv2 structures
Browse files Browse the repository at this point in the history
Signed-off-by: Zhouqi Jiang <[email protected]>
  • Loading branch information
luojia65 committed Dec 19, 2024
1 parent c9d8eaf commit 3339b95
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bouffalo-hal/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//! GPIO pin structure has an alternate mode parameter `M`. Alternate modes can be
//! switched by using functions begin with `into_`. Those functions internally operate
//! on hardware (specifically, GLB peripheral) to change pin function, and convert this
//! structure to `Pin` type with different alternate mode generic parameters. With new
//! alternate mode types, `Pin` structure would now match the demand of creating new
//! structure to `Pad` type with different alternate mode generic parameters. With new
//! alternate mode types, `Pad` structure would now match the demand of creating new
//! peripheral structures, or include specific functions for developers to use.
//!
//! # Examples
Expand Down Expand Up @@ -137,6 +137,7 @@ pub use gpio_group::Pads;
pub use input::Input;
pub use output::Output;
pub use typestate::*;
pub use {pad_v1::Padv1, pad_v2::Padv2};

cfg_if::cfg_if! {
if #[cfg(feature = "glb-v1")] {
Expand Down

0 comments on commit 3339b95

Please sign in to comment.