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

type W = W<u32, PCNT_CTRL_REG>;

Writer for register PCNT_CTRL_REG

Methods

impl W[src]

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

Bit 16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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