Type Alias esp32::pcnt::ctrl::R

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

Register CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cnt_rst_u0(&self) -> CNT_RST_U0_R

Bit 0 - Set this bit to clear unit0’s counter.

source

pub fn cnt_pause_u0(&self) -> CNT_PAUSE_U0_R

Bit 1 - Set this bit to pause unit0’s counter.

source

pub fn cnt_rst_u1(&self) -> CNT_RST_U1_R

Bit 2 - Set this bit to clear unit1’s counter.

source

pub fn cnt_pause_u1(&self) -> CNT_PAUSE_U1_R

Bit 3 - Set this bit to pause unit1’s counter.

source

pub fn cnt_rst_u2(&self) -> CNT_RST_U2_R

Bit 4 - Set this bit to clear unit2’s counter.

source

pub fn cnt_pause_u2(&self) -> CNT_PAUSE_U2_R

Bit 5 - Set this bit to pause unit2’s counter.

source

pub fn cnt_rst_u3(&self) -> CNT_RST_U3_R

Bit 6 - Set this bit to clear unit3’s counter.

source

pub fn cnt_pause_u3(&self) -> CNT_PAUSE_U3_R

Bit 7 - Set this bit to pause unit3’s counter.

source

pub fn cnt_rst_u4(&self) -> CNT_RST_U4_R

Bit 8 - Set this bit to clear unit4’s counter.

source

pub fn cnt_pause_u4(&self) -> CNT_PAUSE_U4_R

Bit 9 - Set this bit to pause unit4’s counter.

source

pub fn cnt_rst_u5(&self) -> CNT_RST_U5_R

Bit 10 - Set this bit to clear unit5’s counter.

source

pub fn cnt_pause_u5(&self) -> CNT_PAUSE_U5_R

Bit 11 - Set this bit to pause unit5’s counter.

source

pub fn cnt_rst_u6(&self) -> CNT_RST_U6_R

Bit 12 - Set this bit to clear unit6’s counter.

source

pub fn cnt_pause_u6(&self) -> CNT_PAUSE_U6_R

Bit 13 - Set this bit to pause unit6’s counter.

source

pub fn cnt_rst_u7(&self) -> CNT_RST_U7_R

Bit 14 - Set this bit to clear unit7’s counter.

source

pub fn cnt_pause_u7(&self) -> CNT_PAUSE_U7_R

Bit 15 - Set this bit to pause unit7’s counter.

source

pub fn clk_en(&self) -> CLK_EN_R

Bit 16