#[repr(transparent)]pub struct Gpiobase(pub u32);
Expand description
Relocate GPIO 0 (from PIO’s point of view) in the system GPIO numbering, to access more than 32 GPIOs from PIO. Only the values 0 and 16 are supported (only bit 4 is writable).
Tuple Fields§
§0: u32
Implementations§
Trait Implementations§
impl Copy for Gpiobase
impl Eq for Gpiobase
impl StructuralPartialEq for Gpiobase
Auto Trait Implementations§
impl Freeze for Gpiobase
impl RefUnwindSafe for Gpiobase
impl Send for Gpiobase
impl Sync for Gpiobase
impl Unpin for Gpiobase
impl UnwindSafe for Gpiobase
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)