[−][src]Struct esp32::pcnt::u4_conf0::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>>
Trait Implementations
impl Deref for W
[src]
type Target = W<U4_CONF0_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for W
[src]
impl From<W<U4_CONF0_SPEC>> for W
[src]
fn from(writer: W<U4_CONF0_SPEC>) -> Self
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,