[][src]Type Definition esp32::pcnt::pcnt_ctrl_reg::R

type R = R<u32, PCNT_CTRL_REG>;

Reader of register PCNT_CTRL_REG

Methods

impl R[src]

pub fn pcnt_clk_en(&self) -> PCNT_CLK_EN_R[src]

Bit 16

pub fn pcnt_cnt_pause_u7(&self) -> PCNT_CNT_PAUSE_U7_R[src]

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

pub fn pcnt_plus_cnt_rst_u7(&self) -> PCNT_PLUS_CNT_RST_U7_R[src]

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

pub fn pcnt_cnt_pause_u6(&self) -> PCNT_CNT_PAUSE_U6_R[src]

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

pub fn pcnt_plus_cnt_rst_u6(&self) -> PCNT_PLUS_CNT_RST_U6_R[src]

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

pub fn pcnt_cnt_pause_u5(&self) -> PCNT_CNT_PAUSE_U5_R[src]

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

pub fn pcnt_plus_cnt_rst_u5(&self) -> PCNT_PLUS_CNT_RST_U5_R[src]

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

pub fn pcnt_cnt_pause_u4(&self) -> PCNT_CNT_PAUSE_U4_R[src]

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

pub fn pcnt_plus_cnt_rst_u4(&self) -> PCNT_PLUS_CNT_RST_U4_R[src]

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

pub fn pcnt_cnt_pause_u3(&self) -> PCNT_CNT_PAUSE_U3_R[src]

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

pub fn pcnt_plus_cnt_rst_u3(&self) -> PCNT_PLUS_CNT_RST_U3_R[src]

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

pub fn pcnt_cnt_pause_u2(&self) -> PCNT_CNT_PAUSE_U2_R[src]

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

pub fn pcnt_plus_cnt_rst_u2(&self) -> PCNT_PLUS_CNT_RST_U2_R[src]

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

pub fn pcnt_cnt_pause_u1(&self) -> PCNT_CNT_PAUSE_U1_R[src]

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

pub fn pcnt_plus_cnt_rst_u1(&self) -> PCNT_PLUS_CNT_RST_U1_R[src]

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

pub fn pcnt_cnt_pause_u0(&self) -> PCNT_CNT_PAUSE_U0_R[src]

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

pub fn pcnt_plus_cnt_rst_u0(&self) -> PCNT_PLUS_CNT_RST_U0_R[src]

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