pub struct W(_);
Expand description
Register INT_ENA
writer
Implementations§
§impl W
impl W
pub fn slp_wakeup_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
pub fn slp_wakeup_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
Bit 0 - enable sleep wakeup interrupt
pub fn slp_reject_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
pub fn slp_reject_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
Bit 1 - enable sleep reject interrupt
pub fn sdio_idle_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
pub fn sdio_idle_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
Bit 2 - enable SDIO idle interrupt
pub fn wdt_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
pub fn wdt_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
Bit 3 - enable RTC WDT interrupt
pub fn time_valid_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
pub fn time_valid_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 4>
Bit 4 - enable RTC time valid interrupt
pub fn ulp_cp_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
pub fn ulp_cp_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
Bit 5 - enable ULP-coprocessor interrupt
pub fn touch_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 6>
pub fn touch_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 6>
Bit 6 - enable touch interrupt
pub fn brown_out_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 7>
pub fn brown_out_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 7>
Bit 7 - enable brown out interrupt
pub fn main_timer_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 8>
pub fn main_timer_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 8>
Bit 8 - enable RTC main timer interrupt
Methods from Deref<Target = W<INT_ENA_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<INT_ENA_SPEC>> for W
impl From<W<INT_ENA_SPEC>> for W
§fn from(writer: W<INT_ENA_SPEC>) -> W
fn from(writer: W<INT_ENA_SPEC>) -> W
Converts to this type from the input type.