Type Alias W

Source
pub type W = W<INT_EN_SPEC>;
Expand description

Register INT_EN writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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.
Source

pub fn m0_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>

Bit 0 - APM M0 interrupt enable

Source

pub fn m1_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>

Bit 1 - APM M1 interrupt enable

Source

pub fn m2_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>

Bit 2 - APM M2 interrupt enable

Source

pub fn m3_apm(&mut self) -> M_APM_W<'_, INT_EN_SPEC>

Bit 3 - APM M3 interrupt enable