#[repr(transparent)]pub struct Irqena(pub u32);Expand description
Interrupt Enable A
Tuple Fields§
§0: u32Implementations§
Source§impl Irqena
impl Irqena
Sourcepub const fn set_por_det(&mut self, val: bool)
pub const fn set_por_det(&mut self, val: bool)
POR Detect
Sourcepub const fn wakeup_flag(&self) -> IrqenaWakeupFlag
pub const fn wakeup_flag(&self) -> IrqenaWakeupFlag
Wakeup Pin Flag
Sourcepub const fn set_wakeup_flag(&mut self, val: IrqenaWakeupFlag)
pub const fn set_wakeup_flag(&mut self, val: IrqenaWakeupFlag)
Wakeup Pin Flag
Sourcepub const fn timer0_flag(&self) -> bool
pub const fn timer0_flag(&self) -> bool
Bandgap Timer 0
Sourcepub const fn set_timer0_flag(&mut self, val: bool)
pub const fn set_timer0_flag(&mut self, val: bool)
Bandgap Timer 0
Sourcepub const fn timer1_flag(&self) -> bool
pub const fn timer1_flag(&self) -> bool
Bandgap Timer 2
Sourcepub const fn set_timer1_flag(&mut self, val: bool)
pub const fn set_timer1_flag(&mut self, val: bool)
Bandgap Timer 2
Sourcepub const fn set_ldo_rdy(&mut self, val: bool)
pub const fn set_ldo_rdy(&mut self, val: bool)
LDO Ready
Sourcepub const fn set_osc_rdy(&mut self, val: bool)
pub const fn set_osc_rdy(&mut self, val: bool)
OSC32k Ready
Sourcepub const fn set_clock_det(&mut self, val: bool)
pub const fn set_clock_det(&mut self, val: bool)
Clock Detect
Sourcepub const fn config_det(&self) -> IrqenaConfigDet
pub const fn config_det(&self) -> IrqenaConfigDet
Configuration Detect
Sourcepub const fn set_config_det(&mut self, val: IrqenaConfigDet)
pub const fn set_config_det(&mut self, val: IrqenaConfigDet)
Configuration Detect
Sourcepub const fn set_volt_det(&mut self, val: bool)
pub const fn set_volt_det(&mut self, val: bool)
Voltage Detect
Sourcepub const fn set_temp_det(&mut self, val: bool)
pub const fn set_temp_det(&mut self, val: bool)
Temperature Detect
Sourcepub const fn set_light_det(&mut self, val: bool)
pub const fn set_light_det(&mut self, val: bool)
Light Detect
Sourcepub const fn set_sec0_det(&mut self, val: bool)
pub const fn set_sec0_det(&mut self, val: bool)
Input 0 Detect
Sourcepub const fn set_irq0_det(&mut self, val: bool)
pub const fn set_irq0_det(&mut self, val: bool)
Interrupt 0 Detect
Sourcepub const fn set_irq1_det(&mut self, val: bool)
pub const fn set_irq1_det(&mut self, val: bool)
Interrupt 1 Detect
Sourcepub const fn set_irq2_det(&mut self, val: bool)
pub const fn set_irq2_det(&mut self, val: bool)
Interrupt 2 Detect
Sourcepub const fn set_irq3_det(&mut self, val: bool)
pub const fn set_irq3_det(&mut self, val: bool)
Interrupt 3 Detect
Trait Implementations§
impl Copy for Irqena
impl Eq for Irqena
impl StructuralPartialEq for Irqena
Auto Trait Implementations§
impl Freeze for Irqena
impl RefUnwindSafe for Irqena
impl Send for Irqena
impl Sync for Irqena
impl Unpin for Irqena
impl UnwindSafe for Irqena
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