Struct atsamd21e18a::tcc0::ctrla::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn swrst(&mut self) -> _SWRSTW
[src]
pub fn swrst(&mut self) -> _SWRSTW
Bit 0 - Software Reset
pub fn enable(&mut self) -> _ENABLEW
[src]
pub fn enable(&mut self) -> _ENABLEW
Bit 1 - Enable
pub fn resolution(&mut self) -> _RESOLUTIONW
[src]
pub fn resolution(&mut self) -> _RESOLUTIONW
Bits 5:6 - Enhanced Resolution
pub fn prescaler(&mut self) -> _PRESCALERW
[src]
pub fn prescaler(&mut self) -> _PRESCALERW
Bits 8:10 - Prescaler
pub fn runstdby(&mut self) -> _RUNSTDBYW
[src]
pub fn runstdby(&mut self) -> _RUNSTDBYW
Bit 11 - Run in Standby
pub fn prescsync(&mut self) -> _PRESCSYNCW
[src]
pub fn prescsync(&mut self) -> _PRESCSYNCW
Bits 12:13 - Prescaler and Counter Synchronization Selection
pub fn alock(&mut self) -> _ALOCKW
[src]
pub fn alock(&mut self) -> _ALOCKW
Bit 14 - Auto Lock
pub fn cpten0(&mut self) -> _CPTEN0W
[src]
pub fn cpten0(&mut self) -> _CPTEN0W
Bit 24 - Capture Channel 0 Enable
pub fn cpten1(&mut self) -> _CPTEN1W
[src]
pub fn cpten1(&mut self) -> _CPTEN1W
Bit 25 - Capture Channel 1 Enable
pub fn cpten2(&mut self) -> _CPTEN2W
[src]
pub fn cpten2(&mut self) -> _CPTEN2W
Bit 26 - Capture Channel 2 Enable
pub fn cpten3(&mut self) -> _CPTEN3W
[src]
pub fn cpten3(&mut self) -> _CPTEN3W
Bit 27 - Capture Channel 3 Enable