Struct atsamd21e18a::tcc0::ctrla::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn swrst(&self) -> SWRSTR
[src]
pub fn swrst(&self) -> SWRSTR
Bit 0 - Software Reset
pub fn enable(&self) -> ENABLER
[src]
pub fn enable(&self) -> ENABLER
Bit 1 - Enable
pub fn resolution(&self) -> RESOLUTIONR
[src]
pub fn resolution(&self) -> RESOLUTIONR
Bits 5:6 - Enhanced Resolution
pub fn prescaler(&self) -> PRESCALERR
[src]
pub fn prescaler(&self) -> PRESCALERR
Bits 8:10 - Prescaler
pub fn runstdby(&self) -> RUNSTDBYR
[src]
pub fn runstdby(&self) -> RUNSTDBYR
Bit 11 - Run in Standby
pub fn prescsync(&self) -> PRESCSYNCR
[src]
pub fn prescsync(&self) -> PRESCSYNCR
Bits 12:13 - Prescaler and Counter Synchronization Selection
pub fn alock(&self) -> ALOCKR
[src]
pub fn alock(&self) -> ALOCKR
Bit 14 - Auto Lock
pub fn cpten0(&self) -> CPTEN0R
[src]
pub fn cpten0(&self) -> CPTEN0R
Bit 24 - Capture Channel 0 Enable
pub fn cpten1(&self) -> CPTEN1R
[src]
pub fn cpten1(&self) -> CPTEN1R
Bit 25 - Capture Channel 1 Enable
pub fn cpten2(&self) -> CPTEN2R
[src]
pub fn cpten2(&self) -> CPTEN2R
Bit 26 - Capture Channel 2 Enable
pub fn cpten3(&self) -> CPTEN3R
[src]
pub fn cpten3(&self) -> CPTEN3R
Bit 27 - Capture Channel 3 Enable