pub type W = W<CTRLBCLR_SPEC>;
Expand description
Register CTRLBCLR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn dir(&mut self) -> DIR_W<'_, CTRLBCLR_SPEC, 0>
pub fn dir(&mut self) -> DIR_W<'_, CTRLBCLR_SPEC, 0>
Bit 0 - Counter Direction
sourcepub fn lupd(&mut self) -> LUPD_W<'_, CTRLBCLR_SPEC, 1>
pub fn lupd(&mut self) -> LUPD_W<'_, CTRLBCLR_SPEC, 1>
Bit 1 - Lock Update
sourcepub fn oneshot(&mut self) -> ONESHOT_W<'_, CTRLBCLR_SPEC, 2>
pub fn oneshot(&mut self) -> ONESHOT_W<'_, CTRLBCLR_SPEC, 2>
Bit 2 - One-Shot on Counter
sourcepub fn cmd(&mut self) -> CMD_W<'_, CTRLBCLR_SPEC, 5>
pub fn cmd(&mut self) -> CMD_W<'_, CTRLBCLR_SPEC, 5>
Bits 5:7 - Command