pub type W = W<CTRL_SPEC>;
Expand description
Register CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn cnt_rst_u0(&mut self) -> CNT_RST_U0_W<'_, CTRL_SPEC>
pub fn cnt_rst_u0(&mut self) -> CNT_RST_U0_W<'_, CTRL_SPEC>
Bit 0 - Set this bit to clear unit 0’s counter.
sourcepub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U0_W<'_, CTRL_SPEC>
pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U0_W<'_, CTRL_SPEC>
Bit 1 - Set this bit to freeze unit 0’s counter.
sourcepub fn cnt_rst_u1(&mut self) -> CNT_RST_U1_W<'_, CTRL_SPEC>
pub fn cnt_rst_u1(&mut self) -> CNT_RST_U1_W<'_, CTRL_SPEC>
Bit 2 - Set this bit to clear unit 1’s counter.
sourcepub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U1_W<'_, CTRL_SPEC>
pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U1_W<'_, CTRL_SPEC>
Bit 3 - Set this bit to freeze unit 1’s counter.
sourcepub fn cnt_rst_u2(&mut self) -> CNT_RST_U2_W<'_, CTRL_SPEC>
pub fn cnt_rst_u2(&mut self) -> CNT_RST_U2_W<'_, CTRL_SPEC>
Bit 4 - Set this bit to clear unit 2’s counter.
sourcepub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U2_W<'_, CTRL_SPEC>
pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U2_W<'_, CTRL_SPEC>
Bit 5 - Set this bit to freeze unit 2’s counter.
sourcepub fn cnt_rst_u3(&mut self) -> CNT_RST_U3_W<'_, CTRL_SPEC>
pub fn cnt_rst_u3(&mut self) -> CNT_RST_U3_W<'_, CTRL_SPEC>
Bit 6 - Set this bit to clear unit 3’s counter.
sourcepub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U3_W<'_, CTRL_SPEC>
pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U3_W<'_, CTRL_SPEC>
Bit 7 - Set this bit to freeze unit 3’s counter.