atsamd21g::tcc0::ctrlbclr

Type Alias R

Source
pub type R = R<CtrlbclrSpec>;
Expand description

Register CTRLBCLR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn dir(&self) -> DirR

Bit 0 - Counter Direction

Source

pub fn lupd(&self) -> LupdR

Bit 1 - Lock Update

Source

pub fn oneshot(&self) -> OneshotR

Bit 2 - One-Shot

Source

pub fn idxcmd(&self) -> IdxcmdR

Bits 3:4 - Ramp Index Command

Source

pub fn cmd(&self) -> CmdR

Bits 5:7 - TCC Command