Type Alias W

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

Register acomp1_ctrl writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn acomp1_en(&mut self) -> ACOMP1_EN_W<'_, ACOMP1_CTRL_SPEC>

Bit 0

Source

pub fn acomp1_hyst_seln(&mut self) -> ACOMP1_HYST_SELN_W<'_, ACOMP1_CTRL_SPEC>

Bits 4:6

Source

pub fn acomp1_hyst_selp(&mut self) -> ACOMP1_HYST_SELP_W<'_, ACOMP1_CTRL_SPEC>

Bits 7:9

Source

pub fn acomp1_bias_prog(&mut self) -> ACOMP1_BIAS_PROG_W<'_, ACOMP1_CTRL_SPEC>

Bits 10:11

Source

pub fn acomp1_level_sel(&mut self) -> ACOMP1_LEVEL_SEL_W<'_, ACOMP1_CTRL_SPEC>

Bits 12:17

Source

pub fn acomp1_neg_sel(&mut self) -> ACOMP1_NEG_SEL_W<'_, ACOMP1_CTRL_SPEC>

Bits 18:21

Source

pub fn acomp1_pos_sel(&mut self) -> ACOMP1_POS_SEL_W<'_, ACOMP1_CTRL_SPEC>

Bits 22:25

Source

pub fn acomp1_muxen(&mut self) -> ACOMP1_MUXEN_W<'_, ACOMP1_CTRL_SPEC>

Bit 26

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual