Type Alias atsame54n::tcc0::ctrlbclr::R

source ·
pub type R = R<CTRLBCLR_SPEC>;
Expand description

Register CTRLBCLR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn dir(&self) -> DIR_R

Bit 0 - Counter Direction

source

pub fn lupd(&self) -> LUPD_R

Bit 1 - Lock Update

source

pub fn oneshot(&self) -> ONESHOT_R

Bit 2 - One-Shot

source

pub fn idxcmd(&self) -> IDXCMD_R

Bits 3:4 - Ramp Index Command

source

pub fn cmd(&self) -> CMD_R

Bits 5:7 - TCC Command