Type Alias atsame54n::rtc::mode1::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 mode(&self) -> MODE_R

Bits 2:3 - Operating Mode

source

pub fn prescaler(&self) -> PRESCALER_R

Bits 8:11 - Prescaler

source

pub fn bktrst(&self) -> BKTRST_R

Bit 13 - BKUP Registers Reset On Tamper Enable

source

pub fn gptrst(&self) -> GPTRST_R

Bit 14 - GP Registers Reset On Tamper Enable

source

pub fn countsync(&self) -> COUNTSYNC_R

Bit 15 - Count Read Synchronization Enable