Enum atsamd21e18a::rtc::mode2::ctrl::MODER [−][src]
pub enum MODER { COUNT32, COUNT16, CLOCK, _Reserved(u8), }
Possible values of the field MODE
Variants
COUNT32
Mode 0: 32-bit Counter
COUNT16
Mode 1: 16-bit Counter
CLOCK
Mode 2: Clock/Calendar
_Reserved(u8)
Reserved
Methods
impl MODER
[src]
impl MODER
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_count32(&self) -> bool
[src]
pub fn is_count32(&self) -> bool
Checks if the value of the field is COUNT32
pub fn is_count16(&self) -> bool
[src]
pub fn is_count16(&self) -> bool
Checks if the value of the field is COUNT16
pub fn is_clock(&self) -> bool
[src]
pub fn is_clock(&self) -> bool
Checks if the value of the field is CLOCK
Trait Implementations
impl Clone for MODER
[src]
impl Clone for MODER
fn clone(&self) -> MODER
[src]
fn clone(&self) -> MODER
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MODER
[src]
impl Copy for MODER
impl Debug for MODER
[src]
impl Debug for MODER
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MODER
[src]
impl PartialEq for MODER