Type Alias atsamd21j::tc3::count32::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 enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn mode(&self) -> MODE_R

Bits 2:3 - TC Mode

source

pub fn wavegen(&self) -> WAVEGEN_R

Bits 5:6 - Waveform Generation Operation

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