pub type R = R<CTRLA_SPEC>;
Expand description
Register CTRLA
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn prescsync(&self) -> PRESCSYNC_R
pub fn prescsync(&self) -> PRESCSYNC_R
Bits 4:5 - Prescaler and Counter Synchronization
sourcepub fn runstdby(&self) -> RUNSTDBY_R
pub fn runstdby(&self) -> RUNSTDBY_R
Bit 6 - Run during Standby
sourcepub fn ondemand(&self) -> ONDEMAND_R
pub fn ondemand(&self) -> ONDEMAND_R
Bit 7 - Clock On Demand
sourcepub fn prescaler(&self) -> PRESCALER_R
pub fn prescaler(&self) -> PRESCALER_R
Bits 8:10 - Prescaler
sourcepub fn captmode0(&self) -> CAPTMODE0_R
pub fn captmode0(&self) -> CAPTMODE0_R
Bits 24:25 - Capture Mode Channel 0
sourcepub fn captmode1(&self) -> CAPTMODE1_R
pub fn captmode1(&self) -> CAPTMODE1_R
Bits 27:28 - Capture mode Channel 1