atsamd51g::tcc0::ctrla

Type Alias R

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

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn swrst(&self) -> SwrstR

Bit 0 - Software Reset

Source

pub fn enable(&self) -> EnableR

Bit 1 - Enable

Source

pub fn resolution(&self) -> ResolutionR

Bits 5:6 - Enhanced Resolution

Source

pub fn prescaler(&self) -> PrescalerR

Bits 8:10 - Prescaler

Source

pub fn runstdby(&self) -> RunstdbyR

Bit 11 - Run in Standby

Source

pub fn prescsync(&self) -> PrescsyncR

Bits 12:13 - Prescaler and Counter Synchronization Selection

Source

pub fn alock(&self) -> AlockR

Bit 14 - Auto Lock

Source

pub fn msync(&self) -> MsyncR

Bit 15 - Master Synchronization (only for TCC Slave Instance)

Source

pub fn dmaos(&self) -> DmaosR

Bit 23 - DMA One-shot Trigger Mode

Source

pub fn cpten0(&self) -> Cpten0R

Bit 24 - Capture Channel 0 Enable

Source

pub fn cpten1(&self) -> Cpten1R

Bit 25 - Capture Channel 1 Enable

Source

pub fn cpten2(&self) -> Cpten2R

Bit 26 - Capture Channel 2 Enable

Source

pub fn cpten3(&self) -> Cpten3R

Bit 27 - Capture Channel 3 Enable

Source

pub fn cpten4(&self) -> Cpten4R

Bit 28 - Capture Channel 4 Enable

Source

pub fn cpten5(&self) -> Cpten5R

Bit 29 - Capture Channel 5 Enable