atsamd11d::tcc0::ctrlbset

Type Alias W

Source
pub type W = W<CtrlbsetSpec>;
Expand description

Register CTRLBSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn dir(&mut self) -> DirW<'_, CtrlbsetSpec>

Bit 0 - Counter Direction

Source

pub fn lupd(&mut self) -> LupdW<'_, CtrlbsetSpec>

Bit 1 - Lock Update

Source

pub fn oneshot(&mut self) -> OneshotW<'_, CtrlbsetSpec>

Bit 2 - One-Shot

Source

pub fn idxcmd(&mut self) -> IdxcmdW<'_, CtrlbsetSpec>

Bits 3:4 - Ramp Index Command

Source

pub fn cmd(&mut self) -> CmdW<'_, CtrlbsetSpec>

Bits 5:7 - TCC Command