Type Alias esp32c6::pcnt::int_raw::R

source ·
pub type R = R<INT_RAW_SPEC>;
Expand description

Register INT_RAW reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cnt_thr_event_u(&self, n: u8) -> CNT_THR_EVENT_U_R

The raw interrupt status bit for 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_u_iter( &self, ) -> impl Iterator<Item = CNT_THR_EVENT_U_R> + '_

Iterator for array of: The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U(0-3)_INT interrupt.

source

pub fn cnt_thr_event_u0(&self) -> CNT_THR_EVENT_U_R

Bit 0 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt.

source

pub fn cnt_thr_event_u1(&self) -> CNT_THR_EVENT_U_R

Bit 1 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt.

source

pub fn cnt_thr_event_u2(&self) -> CNT_THR_EVENT_U_R

Bit 2 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt.

source

pub fn cnt_thr_event_u3(&self) -> CNT_THR_EVENT_U_R

Bit 3 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt.