Type Alias esp32::pcnt::int_ena::R

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

Register INT_ENA 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

This is the interrupt enable bit for channel(0-7) event.

`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: This is the interrupt enable bit for channel(0-7) event.

source

pub fn cnt_thr_event_u0(&self) -> CNT_THR_EVENT_U_R

Bit 0 - This is the interrupt enable bit for channel0 event.

source

pub fn cnt_thr_event_u1(&self) -> CNT_THR_EVENT_U_R

Bit 1 - This is the interrupt enable bit for channel1 event.

source

pub fn cnt_thr_event_u2(&self) -> CNT_THR_EVENT_U_R

Bit 2 - This is the interrupt enable bit for channel2 event.

source

pub fn cnt_thr_event_u3(&self) -> CNT_THR_EVENT_U_R

Bit 3 - This is the interrupt enable bit for channel3 event.

source

pub fn cnt_thr_event_u4(&self) -> CNT_THR_EVENT_U_R

Bit 4 - This is the interrupt enable bit for channel4 event.

source

pub fn cnt_thr_event_u5(&self) -> CNT_THR_EVENT_U_R

Bit 5 - This is the interrupt enable bit for channel5 event.

source

pub fn cnt_thr_event_u6(&self) -> CNT_THR_EVENT_U_R

Bit 6 - This is the interrupt enable bit for channel6 event.

source

pub fn cnt_thr_event_u7(&self) -> CNT_THR_EVENT_U_R

Bit 7 - This is the interrupt enable bit for channel7 event.