Type Alias W

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

Register acomp_ctrl writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn acomp1_rstn_ana(&mut self) -> ACOMP1_RSTN_ANA_W<'_, ACOMP_CTRL_SPEC>

Bit 0

Source

pub fn acomp0_rstn_ana(&mut self) -> ACOMP0_RSTN_ANA_W<'_, ACOMP_CTRL_SPEC>

Bit 1

Source

pub fn acomp1_test_en(&mut self) -> ACOMP1_TEST_EN_W<'_, ACOMP_CTRL_SPEC>

Bit 8

Source

pub fn acomp0_test_en(&mut self) -> ACOMP0_TEST_EN_W<'_, ACOMP_CTRL_SPEC>

Bit 9

Source

pub fn acomp1_test_sel(&mut self) -> ACOMP1_TEST_SEL_W<'_, ACOMP_CTRL_SPEC>

Bits 10:11

Source

pub fn acomp0_test_sel(&mut self) -> ACOMP0_TEST_SEL_W<'_, ACOMP_CTRL_SPEC>

Bits 12:13

Source

pub fn acomp1_out_raw(&mut self) -> ACOMP1_OUT_RAW_W<'_, ACOMP_CTRL_SPEC>

Bit 17

Source

pub fn acomp0_out_raw(&mut self) -> ACOMP0_OUT_RAW_W<'_, ACOMP_CTRL_SPEC>

Bit 19

Source

pub fn acomp_vref_sel(&mut self) -> ACOMP_VREF_SEL_W<'_, ACOMP_CTRL_SPEC>

Bits 24:29

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