pub type W = W<INT_EN_SPEC>;
Expand description
Register INT_EN
writer
Aliased Type§
pub struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn m_apm(&mut self, n: u8) -> M_APM_W<'_, INT_EN_SPEC>
pub fn m_apm(&mut self, n: u8) -> M_APM_W<'_, INT_EN_SPEC>
APM M(0-3) interrupt enable
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
Sourcepub fn m0_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
pub fn m0_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
Bit 0 - APM M0 interrupt enable
Sourcepub fn m1_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
pub fn m1_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
Bit 1 - APM M1 interrupt enable
Sourcepub fn m2_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
pub fn m2_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
Bit 2 - APM M2 interrupt enable
Sourcepub fn m3_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
pub fn m3_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>
Bit 3 - APM M3 interrupt enable