Type Alias atsame54n::tcc0::ctrla::R

source ·
pub type R = R<CTRLA_SPEC>;
Expand description

Register CTRLA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn swrst(&self) -> SWRST_R

Bit 0 - Software Reset

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn resolution(&self) -> RESOLUTION_R

Bits 5:6 - Enhanced Resolution

source

pub fn prescaler(&self) -> PRESCALER_R

Bits 8:10 - Prescaler

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 11 - Run in Standby

source

pub fn prescsync(&self) -> PRESCSYNC_R

Bits 12:13 - Prescaler and Counter Synchronization Selection

source

pub fn alock(&self) -> ALOCK_R

Bit 14 - Auto Lock

source

pub fn msync(&self) -> MSYNC_R

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

source

pub fn dmaos(&self) -> DMAOS_R

Bit 23 - DMA One-shot Trigger Mode

source

pub fn cpten0(&self) -> CPTEN0_R

Bit 24 - Capture Channel 0 Enable

source

pub fn cpten1(&self) -> CPTEN1_R

Bit 25 - Capture Channel 1 Enable

source

pub fn cpten2(&self) -> CPTEN2_R

Bit 26 - Capture Channel 2 Enable

source

pub fn cpten3(&self) -> CPTEN3_R

Bit 27 - Capture Channel 3 Enable

source

pub fn cpten4(&self) -> CPTEN4_R

Bit 28 - Capture Channel 4 Enable

source

pub fn cpten5(&self) -> CPTEN5_R

Bit 29 - Capture Channel 5 Enable