Enum atsamd21e18a::rtc::mode2::clock::HOURR [−][src]
pub enum HOURR { AM, PM, _Reserved(u8), }
Possible values of the field HOUR
Variants
AM
AM when CLKREP in 12-hour
PM
PM when CLKREP in 12-hour
_Reserved(u8)
Reserved
Methods
impl HOURR
[src]
impl HOURR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_am(&self) -> bool
[src]
pub fn is_am(&self) -> bool
Checks if the value of the field is AM
pub fn is_pm(&self) -> bool
[src]
pub fn is_pm(&self) -> bool
Checks if the value of the field is PM
Trait Implementations
impl Clone for HOURR
[src]
impl Clone for HOURR
fn clone(&self) -> HOURR
[src]
fn clone(&self) -> HOURR
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 HOURR
[src]
impl Copy for HOURR
impl Debug for HOURR
[src]
impl Debug for HOURR
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 HOURR
[src]
impl PartialEq for HOURR