[][src]Type Definition esp32::pcnt::u2_conf0::R

type R = R<u32, U2_CONF0>;

Reader of register U2_CONF0

Implementations

impl R[src]

pub fn ch1_lctrl_mode_u2(&self) -> CH1_LCTRL_MODE_U2_R[src]

Bits 30:31

pub fn ch1_hctrl_mode_u2(&self) -> CH1_HCTRL_MODE_U2_R[src]

Bits 28:29

pub fn ch1_pos_mode_u2(&self) -> CH1_POS_MODE_U2_R[src]

Bits 26:27

pub fn ch1_neg_mode_u2(&self) -> CH1_NEG_MODE_U2_R[src]

Bits 24:25

pub fn ch0_lctrl_mode_u2(&self) -> CH0_LCTRL_MODE_U2_R[src]

Bits 22:23

pub fn ch0_hctrl_mode_u2(&self) -> CH0_HCTRL_MODE_U2_R[src]

Bits 20:21

pub fn ch0_pos_mode_u2(&self) -> CH0_POS_MODE_U2_R[src]

Bits 18:19

pub fn ch0_neg_mode_u2(&self) -> CH0_NEG_MODE_U2_R[src]

Bits 16:17

pub fn thr_thres1_en_u2(&self) -> THR_THRES1_EN_U2_R[src]

Bit 15

pub fn thr_thres0_en_u2(&self) -> THR_THRES0_EN_U2_R[src]

Bit 14

pub fn thr_l_lim_en_u2(&self) -> THR_L_LIM_EN_U2_R[src]

Bit 13

pub fn thr_h_lim_en_u2(&self) -> THR_H_LIM_EN_U2_R[src]

Bit 12

pub fn thr_zero_en_u2(&self) -> THR_ZERO_EN_U2_R[src]

Bit 11

pub fn filter_en_u2(&self) -> FILTER_EN_U2_R[src]

Bit 10

pub fn filter_thres_u2(&self) -> FILTER_THRES_U2_R[src]

Bits 0:9