Type Alias esp32::pcnt::ctrl::W

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

Register CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cnt_rst_u0(&mut self) -> CNT_RST_U0_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U0_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u1(&mut self) -> CNT_RST_U1_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U1_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u2(&mut self) -> CNT_RST_U2_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U2_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u3(&mut self) -> CNT_RST_U3_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U3_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u4(&mut self) -> CNT_RST_U4_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u4(&mut self) -> CNT_PAUSE_U4_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u5(&mut self) -> CNT_RST_U5_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u5(&mut self) -> CNT_PAUSE_U5_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u6(&mut self) -> CNT_RST_U6_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u6(&mut self) -> CNT_PAUSE_U6_W<'_, CTRL_SPEC>

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

source

pub fn cnt_rst_u7(&mut self) -> CNT_RST_U7_W<'_, CTRL_SPEC>

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

source

pub fn cnt_pause_u7(&mut self) -> CNT_PAUSE_U7_W<'_, CTRL_SPEC>

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

source

pub fn clk_en(&mut self) -> CLK_EN_W<'_, CTRL_SPEC>

Bit 16