pub struct W(_);
Expand description
Register CTRL
writer
Implementations§
§impl W
impl W
pub fn plus_cnt_rst_u0(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 0>
pub fn plus_cnt_rst_u0(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to clear unit0’s counter.
pub fn cnt_pause_u0(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 1>
pub fn cnt_pause_u0(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to pause unit0’s counter.
pub fn plus_cnt_rst_u1(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 2>
pub fn plus_cnt_rst_u1(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to clear unit1’s counter.
pub fn cnt_pause_u1(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 3>
pub fn cnt_pause_u1(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to pause unit1’s counter.
pub fn plus_cnt_rst_u2(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 4>
pub fn plus_cnt_rst_u2(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 4>
Bit 4 - Set this bit to clear unit2’s counter.
pub fn cnt_pause_u2(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 5>
pub fn cnt_pause_u2(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 5>
Bit 5 - Set this bit to pause unit2’s counter.
pub fn plus_cnt_rst_u3(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 6>
pub fn plus_cnt_rst_u3(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to clear unit3’s counter.
pub fn cnt_pause_u3(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 7>
pub fn cnt_pause_u3(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to pause unit3’s counter.
pub fn plus_cnt_rst_u4(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 8>
pub fn plus_cnt_rst_u4(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 8>
Bit 8 - Set this bit to clear unit4’s counter.
pub fn cnt_pause_u4(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 9>
pub fn cnt_pause_u4(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 9>
Bit 9 - Set this bit to pause unit4’s counter.
pub fn plus_cnt_rst_u5(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 10>
pub fn plus_cnt_rst_u5(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 10>
Bit 10 - Set this bit to clear unit5’s counter.
pub fn cnt_pause_u5(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 11>
pub fn cnt_pause_u5(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 11>
Bit 11 - Set this bit to pause unit5’s counter.
pub fn plus_cnt_rst_u6(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 12>
pub fn plus_cnt_rst_u6(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 12>
Bit 12 - Set this bit to clear unit6’s counter.
pub fn cnt_pause_u6(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 13>
pub fn cnt_pause_u6(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 13>
Bit 13 - Set this bit to pause unit6’s counter.
pub fn plus_cnt_rst_u7(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 14>
pub fn plus_cnt_rst_u7(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 14>
Bit 14 - Set this bit to clear unit7’s counter.
pub fn cnt_pause_u7(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 15>
pub fn cnt_pause_u7(
&mut self
) -> BitWriterRaw<'_, u32, CTRL_SPEC, bool, BitM, 15>
Bit 15 - Set this bit to pause unit7’s counter.
Methods from Deref<Target = W<CTRL_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.