Type Alias atsamd51p::rtc::mode1::ctrla::MODE_R

source ·
pub type MODE_R = FieldReader<MODESELECT_A>;
Expand description

Field MODE reader - Operating Mode

Aliased Type§

struct MODE_R { /* private fields */ }

Implementations§

source§

impl MODE_R

source

pub const fn variant(&self) -> Option<MODESELECT_A>

Get enumerated values variant

source

pub fn is_count32(&self) -> bool

Mode 0: 32-bit Counter

source

pub fn is_count16(&self) -> bool

Mode 1: 16-bit Counter

source

pub fn is_clock(&self) -> bool

Mode 2: Clock/Calendar