Struct Gpiote
pub struct Gpiote { /* private fields */ }
Expand description
GPIO Tasks and Events 0
Implementations§
§impl Gpiote
impl Gpiote
pub const unsafe fn from_ptr(ptr: *mut ()) -> Gpiote
pub const fn as_ptr(&self) -> *mut ()
pub 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.
pub 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.
pub 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.
pub const fn subscribe_out(self, n: usize) -> Reg<Subscribe, RW>
pub const fn subscribe_out(self, n: usize) -> Reg<Subscribe, RW>
Description collection: Subscribe configuration for task OUT[n]
pub const fn subscribe_set(self, n: usize) -> Reg<Subscribe, RW>
pub const fn subscribe_set(self, n: usize) -> Reg<Subscribe, RW>
Description collection: Subscribe configuration for task SET[n]
pub const fn subscribe_clr(self, n: usize) -> Reg<Subscribe, RW>
pub const fn subscribe_clr(self, n: usize) -> Reg<Subscribe, RW>
Description collection: Subscribe configuration for task CLR[n]
pub 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
pub 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
pub const fn publish_in(self, n: usize) -> Reg<Publish, RW>
pub const fn publish_in(self, n: usize) -> Reg<Publish, RW>
Description collection: Publish configuration for event IN[n]
pub const fn publish_port(self) -> Reg<Publish, RW>
pub const fn publish_port(self) -> Reg<Publish, RW>
Publish configuration for event PORT