#[repr(transparent)]pub struct WakeintCtrl(pub u32);Expand description
Wakeup interrupt control for PLU
Tuple Fields§
§0: u32Implementations§
Source§impl WakeintCtrl
impl WakeintCtrl
Sourcepub const fn mask(&self) -> u8
pub const fn mask(&self) -> u8
Interrupt mask (which of the 8 PLU Outputs contribute to interrupt)
Sourcepub const fn set_mask(&mut self, val: u8)
pub const fn set_mask(&mut self, val: u8)
Interrupt mask (which of the 8 PLU Outputs contribute to interrupt)
Sourcepub const fn filter_mode(&self) -> FilterMode
pub const fn filter_mode(&self) -> FilterMode
control input of the PLU, add filtering for glitch.
Sourcepub const fn set_filter_mode(&mut self, val: FilterMode)
pub const fn set_filter_mode(&mut self, val: FilterMode)
control input of the PLU, add filtering for glitch.
Sourcepub const fn filter_clksel(&self) -> FilterClksel
pub const fn filter_clksel(&self) -> FilterClksel
hclk is divided by 2**filter_clksel.
Sourcepub const fn set_filter_clksel(&mut self, val: FilterClksel)
pub const fn set_filter_clksel(&mut self, val: FilterClksel)
hclk is divided by 2**filter_clksel.
Sourcepub const fn latch_enable(&self) -> bool
pub const fn latch_enable(&self) -> bool
latch the interrupt , then can be cleared with next bit INTR_CLEAR
Sourcepub const fn set_latch_enable(&mut self, val: bool)
pub const fn set_latch_enable(&mut self, val: bool)
latch the interrupt , then can be cleared with next bit INTR_CLEAR
Sourcepub const fn intr_clear(&self) -> bool
pub const fn intr_clear(&self) -> bool
Write to clear wakeint_latched
Sourcepub const fn set_intr_clear(&mut self, val: bool)
pub const fn set_intr_clear(&mut self, val: bool)
Write to clear wakeint_latched
Trait Implementations§
Source§impl Clone for WakeintCtrl
impl Clone for WakeintCtrl
Source§fn clone(&self) -> WakeintCtrl
fn clone(&self) -> WakeintCtrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WakeintCtrl
impl Debug for WakeintCtrl
Source§impl Default for WakeintCtrl
impl Default for WakeintCtrl
Source§fn default() -> WakeintCtrl
fn default() -> WakeintCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for WakeintCtrl
impl PartialEq for WakeintCtrl
impl Copy for WakeintCtrl
impl Eq for WakeintCtrl
impl StructuralPartialEq for WakeintCtrl
Auto Trait Implementations§
impl Freeze for WakeintCtrl
impl RefUnwindSafe for WakeintCtrl
impl Send for WakeintCtrl
impl Sync for WakeintCtrl
impl Unpin for WakeintCtrl
impl UnwindSafe for WakeintCtrl
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