Type Alias esp32h2::pcnt::int_clr::W

source ·
pub type W = W<INT_CLR_SPEC>;
Expand description

Register INT_CLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W<'_, INT_CLR_SPEC>

Set this bit to clear the PCNT_CNT_THR_EVENT_U(0-3)_INT interrupt.

`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
source

pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W<'_, INT_CLR_SPEC>

Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt.

source

pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W<'_, INT_CLR_SPEC>

Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt.

source

pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W<'_, INT_CLR_SPEC>

Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt.

source

pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W<'_, INT_CLR_SPEC>

Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt.