[][src]Struct bl602_pac::aon::acomp1_ctrl::W

pub struct W(_);

Register acomp1_ctrl writer

Implementations

impl W[src]

pub fn acomp1_muxen(&mut self) -> ACOMP1_MUXEN_W[src]

Bit 26

pub fn acomp1_pos_sel(&mut self) -> ACOMP1_POS_SEL_W[src]

Bits 22:25

pub fn acomp1_neg_sel(&mut self) -> ACOMP1_NEG_SEL_W[src]

Bits 18:21

pub fn acomp1_level_sel(&mut self) -> ACOMP1_LEVEL_SEL_W[src]

Bits 12:17

pub fn acomp1_bias_prog(&mut self) -> ACOMP1_BIAS_PROG_W[src]

Bits 10:11

pub fn acomp1_hyst_selp(&mut self) -> ACOMP1_HYST_SELP_W[src]

Bits 7:9

pub fn acomp1_hyst_seln(&mut self) -> ACOMP1_HYST_SELN_W[src]

Bits 4:6

pub fn acomp1_en(&mut self) -> ACOMP1_EN_W[src]

Bit 0

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

Writes raw bits to the register.

Methods from Deref<Target = W<ACOMP1_CTRL_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<ACOMP1_CTRL_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<ACOMP1_CTRL_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.