#[repr(transparent)]pub struct Pio(pub u32);Expand description
iop pad control register for port0 to port5
Tuple Fields§
§0: u32Implementations§
Source§impl Pio
impl Pio
Sourcepub const fn fsel(&self) -> Fsel
pub const fn fsel(&self) -> Fsel
Function Selector. . .(FSELs Sources can be found in the next several pages.)
Sourcepub const fn set_fsel(&mut self, val: Fsel)
pub const fn set_fsel(&mut self, val: Fsel)
Function Selector. . .(FSELs Sources can be found in the next several pages.)
Sourcepub const fn set_pupdena(&mut self, val: bool)
pub const fn set_pupdena(&mut self, val: bool)
Pullup / Pulldown Enable. . .
Sourcepub const fn set_pupdsel(&mut self, val: Pupdsel)
pub const fn set_pupdsel(&mut self, val: Pupdsel)
Pullup or Pulldown Selector. . .
Sourcepub const fn set_slewrate(&mut self, val: Slewrate)
pub const fn set_slewrate(&mut self, val: Slewrate)
Slew Rate Control. . .
Sourcepub const fn set_fulldrive(&mut self, val: Fulldrive)
pub const fn set_fulldrive(&mut self, val: Fulldrive)
Drive Selector. . .
Trait Implementations§
impl Copy for Pio
impl Eq for Pio
impl StructuralPartialEq for Pio
Auto Trait Implementations§
impl Freeze for Pio
impl RefUnwindSafe for Pio
impl Send for Pio
impl Sync for Pio
impl Unpin for Pio
impl UnwindSafe for Pio
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