Type Definition atsame54n19a_pac::tcc0::ctrla::R[][src]

type R = R<u32, CTRLA>;

Reader of register CTRLA

Implementations

impl R[src]

pub fn swrst(&self) -> SWRST_R[src]

Bit 0 - Software Reset

pub fn enable(&self) -> ENABLE_R[src]

Bit 1 - Enable

pub fn resolution(&self) -> RESOLUTION_R[src]

Bits 5:6 - Enhanced Resolution

pub fn prescaler(&self) -> PRESCALER_R[src]

Bits 8:10 - Prescaler

pub fn runstdby(&self) -> RUNSTDBY_R[src]

Bit 11 - Run in Standby

pub fn prescsync(&self) -> PRESCSYNC_R[src]

Bits 12:13 - Prescaler and Counter Synchronization Selection

pub fn alock(&self) -> ALOCK_R[src]

Bit 14 - Auto Lock

pub fn msync(&self) -> MSYNC_R[src]

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

pub fn dmaos(&self) -> DMAOS_R[src]

Bit 23 - DMA One-shot Trigger Mode

pub fn cpten0(&self) -> CPTEN0_R[src]

Bit 24 - Capture Channel 0 Enable

pub fn cpten1(&self) -> CPTEN1_R[src]

Bit 25 - Capture Channel 1 Enable

pub fn cpten2(&self) -> CPTEN2_R[src]

Bit 26 - Capture Channel 2 Enable

pub fn cpten3(&self) -> CPTEN3_R[src]

Bit 27 - Capture Channel 3 Enable

pub fn cpten4(&self) -> CPTEN4_R[src]

Bit 28 - Capture Channel 4 Enable

pub fn cpten5(&self) -> CPTEN5_R[src]

Bit 29 - Capture Channel 5 Enable