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
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
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
)