pub type R = R<CTRL_SPEC>;
Expand description
Register CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn cnt_rst_u(&self, n: u8) -> CNT_RST_U_R
pub fn cnt_rst_u(&self, n: u8) -> CNT_RST_U_R
Set this bit to clear unit(0-3)’s counter.
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
Sourcepub fn cnt_rst_u_iter(&self) -> impl Iterator<Item = CNT_RST_U_R> + '_
pub fn cnt_rst_u_iter(&self) -> impl Iterator<Item = CNT_RST_U_R> + '_
Iterator for array of: Set this bit to clear unit(0-3)’s counter.
Sourcepub fn cnt_rst_u0(&self) -> CNT_RST_U_R
pub fn cnt_rst_u0(&self) -> CNT_RST_U_R
Bit 0 - Set this bit to clear unit0’s counter.
Sourcepub fn cnt_rst_u1(&self) -> CNT_RST_U_R
pub fn cnt_rst_u1(&self) -> CNT_RST_U_R
Bit 2 - Set this bit to clear unit1’s counter.
Sourcepub fn cnt_rst_u2(&self) -> CNT_RST_U_R
pub fn cnt_rst_u2(&self) -> CNT_RST_U_R
Bit 4 - Set this bit to clear unit2’s counter.
Sourcepub fn cnt_rst_u3(&self) -> CNT_RST_U_R
pub fn cnt_rst_u3(&self) -> CNT_RST_U_R
Bit 6 - Set this bit to clear unit3’s counter.
Sourcepub fn cnt_pause_u(&self, n: u8) -> CNT_PAUSE_U_R
pub fn cnt_pause_u(&self, n: u8) -> CNT_PAUSE_U_R
Set this bit to pause unit(0-3)’s counter.
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
Sourcepub fn cnt_pause_u_iter(&self) -> impl Iterator<Item = CNT_PAUSE_U_R> + '_
pub fn cnt_pause_u_iter(&self) -> impl Iterator<Item = CNT_PAUSE_U_R> + '_
Iterator for array of: Set this bit to pause unit(0-3)’s counter.
Sourcepub fn cnt_pause_u0(&self) -> CNT_PAUSE_U_R
pub fn cnt_pause_u0(&self) -> CNT_PAUSE_U_R
Bit 1 - Set this bit to pause unit0’s counter.
Sourcepub fn cnt_pause_u1(&self) -> CNT_PAUSE_U_R
pub fn cnt_pause_u1(&self) -> CNT_PAUSE_U_R
Bit 3 - Set this bit to pause unit1’s counter.
Sourcepub fn cnt_pause_u2(&self) -> CNT_PAUSE_U_R
pub fn cnt_pause_u2(&self) -> CNT_PAUSE_U_R
Bit 5 - Set this bit to pause unit2’s counter.
Sourcepub fn cnt_pause_u3(&self) -> CNT_PAUSE_U_R
pub fn cnt_pause_u3(&self) -> CNT_PAUSE_U_R
Bit 7 - Set this bit to pause unit3’s counter.