Struct Gpio
pub struct Gpio { /* private fields */ }
Expand description
GPIO Port 0
Implementations§
§impl Gpio
impl Gpio
pub const unsafe fn from_ptr(ptr: *mut ()) -> Gpio
pub const fn as_ptr(&self) -> *mut ()
pub const fn latch(self) -> Reg<Latch, RW>
pub const fn latch(self) -> Reg<Latch, RW>
Latch register indicating what GPIO pins that have met the criteria set in the PIN_CNF[n].SENSE registers
pub const fn detectmode(self) -> Reg<Detectmode, RW>
pub const fn detectmode(self) -> Reg<Detectmode, RW>
Select between default DETECT signal behavior and LDETECT mode (For non-secure pin only)
pub const fn detectmode_sec(self) -> Reg<DetectmodeSec, RW>
pub const fn detectmode_sec(self) -> Reg<DetectmodeSec, RW>
Select between default DETECT signal behavior and LDETECT mode (For secure pin only)
Trait Implementations§
impl Copy for Gpio
impl Eq for Gpio
impl Send for Gpio
impl StructuralPartialEq for Gpio
impl Sync for Gpio
Auto Trait Implementations§
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