Struct atsamd21e18a::tcc0::ctrlbclr::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the register as raw bits
pub fn dir(&self) -> DIRR
[src]
pub fn dir(&self) -> DIRR
Bit 0 - Counter Direction
pub fn lupd(&self) -> LUPDR
[src]
pub fn lupd(&self) -> LUPDR
Bit 1 - Lock Update
pub fn oneshot(&self) -> ONESHOTR
[src]
pub fn oneshot(&self) -> ONESHOTR
Bit 2 - One-Shot
pub fn idxcmd(&self) -> IDXCMDR
[src]
pub fn idxcmd(&self) -> IDXCMDR
Bits 3:4 - Ramp Index Command
pub fn cmd(&self) -> CMDR
[src]
pub fn cmd(&self) -> CMDR
Bits 5:7 - TCC Command