Type Alias esp32s3::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 unit 0’s counter.

source

pub fn cnt_pause_u0(&self) -> CNT_PAUSE_U0_R

Bit 1 - Set this bit to freeze unit 0’s counter.

source

pub fn cnt_rst_u1(&self) -> CNT_RST_U1_R

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

source

pub fn cnt_pause_u1(&self) -> CNT_PAUSE_U1_R

Bit 3 - Set this bit to freeze unit 1’s counter.

source

pub fn cnt_rst_u2(&self) -> CNT_RST_U2_R

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

source

pub fn cnt_pause_u2(&self) -> CNT_PAUSE_U2_R

Bit 5 - Set this bit to freeze unit 2’s counter.

source

pub fn cnt_rst_u3(&self) -> CNT_RST_U3_R

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

source

pub fn cnt_pause_u3(&self) -> CNT_PAUSE_U3_R

Bit 7 - Set this bit to freeze unit 3’s counter.

source

pub fn clk_en(&self) -> CLK_EN_R

Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application