pub struct Gpiote { /* private fields */ }
Expand description
GPIO Tasks and Events
Implementations§
Source§impl Gpiote
impl Gpiote
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_out(self, n: usize) -> Reg<u32, W>
pub const fn tasks_out(self, n: usize) -> Reg<u32, W>
Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is configured in CONFIG[n].POLARITY.
Sourcepub const fn tasks_set(self, n: usize) -> Reg<u32, W>
pub const fn tasks_set(self, n: usize) -> Reg<u32, W>
Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it high.
Sourcepub const fn tasks_clr(self, n: usize) -> Reg<u32, W>
pub const fn tasks_clr(self, n: usize) -> Reg<u32, W>
Description collection: Task for writing to pin specified in CONFIG[n].PSEL. Action on pin is to set it low.
Sourcepub const fn events_in(self, n: usize) -> Reg<u32, RW>
pub const fn events_in(self, n: usize) -> Reg<u32, RW>
Description collection: Event generated from pin specified in CONFIG[n].PSEL
Sourcepub const fn events_port(self) -> Reg<u32, RW>
pub const fn events_port(self) -> Reg<u32, RW>
Event generated from multiple input GPIO pins with SENSE mechanism enabled
Trait Implementations§
impl Copy for Gpiote
impl Eq for Gpiote
impl Send for Gpiote
impl StructuralPartialEq for Gpiote
impl Sync for Gpiote
Auto Trait Implementations§
impl Freeze for Gpiote
impl RefUnwindSafe for Gpiote
impl Unpin for Gpiote
impl UnwindSafe for Gpiote
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
)