[][src]Struct esp32::pcnt::u4_conf0::W

pub struct W(_);

Register U4_CONF0 writer

Implementations

impl W[src]

pub fn ch1_lctrl_mode_u4(&mut self) -> CH1_LCTRL_MODE_U4_W<'_>[src]

Bits 30:31

pub fn ch1_hctrl_mode_u4(&mut self) -> CH1_HCTRL_MODE_U4_W<'_>[src]

Bits 28:29

pub fn ch1_pos_mode_u4(&mut self) -> CH1_POS_MODE_U4_W<'_>[src]

Bits 26:27

pub fn ch1_neg_mode_u4(&mut self) -> CH1_NEG_MODE_U4_W<'_>[src]

Bits 24:25

pub fn ch0_lctrl_mode_u4(&mut self) -> CH0_LCTRL_MODE_U4_W<'_>[src]

Bits 22:23

pub fn ch0_hctrl_mode_u4(&mut self) -> CH0_HCTRL_MODE_U4_W<'_>[src]

Bits 20:21

pub fn ch0_pos_mode_u4(&mut self) -> CH0_POS_MODE_U4_W<'_>[src]

Bits 18:19

pub fn ch0_neg_mode_u4(&mut self) -> CH0_NEG_MODE_U4_W<'_>[src]

Bits 16:17

pub fn thr_thres1_en_u4(&mut self) -> THR_THRES1_EN_U4_W<'_>[src]

Bit 15

pub fn thr_thres0_en_u4(&mut self) -> THR_THRES0_EN_U4_W<'_>[src]

Bit 14

pub fn thr_l_lim_en_u4(&mut self) -> THR_L_LIM_EN_U4_W<'_>[src]

Bit 13

pub fn thr_h_lim_en_u4(&mut self) -> THR_H_LIM_EN_U4_W<'_>[src]

Bit 12

pub fn thr_zero_en_u4(&mut self) -> THR_ZERO_EN_U4_W<'_>[src]

Bit 11

pub fn filter_en_u4(&mut self) -> FILTER_EN_U4_W<'_>[src]

Bit 10

pub fn filter_thres_u4(&mut self) -> FILTER_THRES_U4_W<'_>[src]

Bits 0:9

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

Writes raw bits to the register.

Methods from Deref<Target = W<U4_CONF0_SPEC>>

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

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<U4_CONF0_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<U4_CONF0_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.