pub struct WeekdayAlarm { /* private fields */ }Expand description
Weekday alarm register.
Implementations§
Source§impl WeekdayAlarm
impl WeekdayAlarm
Sourcepub fn ae_w(&self) -> bool
pub fn ae_w(&self) -> bool
Read the ae_w field of the register.
Weekday alarm enable (active low).
- false (0): Weekday alarm enabled
- true (1): Weekday alarm disabled (default)
Sourcepub fn weekday_alarm(&self) -> u8
pub fn weekday_alarm(&self) -> u8
Read the weekday_alarm field of the register.
Weekday alarm value (0-6).
Sourcepub fn set_ae_w(&mut self, value: bool)
pub fn set_ae_w(&mut self, value: bool)
Write the ae_w field of the register.
Weekday alarm enable (active low).
- false (0): Weekday alarm enabled
- true (1): Weekday alarm disabled (default)
Sourcepub fn set_weekday_alarm(&mut self, value: u8)
pub fn set_weekday_alarm(&mut self, value: u8)
Write the weekday_alarm field of the register.
Weekday alarm value (0-6).
Trait Implementations§
Source§impl BitAnd for WeekdayAlarm
impl BitAnd for WeekdayAlarm
Source§impl BitAndAssign for WeekdayAlarm
impl BitAndAssign for WeekdayAlarm
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for WeekdayAlarm
impl BitOr for WeekdayAlarm
Source§impl BitOrAssign for WeekdayAlarm
impl BitOrAssign for WeekdayAlarm
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for WeekdayAlarm
impl BitXor for WeekdayAlarm
Source§impl BitXorAssign for WeekdayAlarm
impl BitXorAssign for WeekdayAlarm
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for WeekdayAlarm
impl Clone for WeekdayAlarm
Source§fn clone(&self) -> WeekdayAlarm
fn clone(&self) -> WeekdayAlarm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WeekdayAlarm
impl Debug for WeekdayAlarm
Source§impl From<WeekdayAlarm> for [u8; 1]
impl From<WeekdayAlarm> for [u8; 1]
Source§fn from(val: WeekdayAlarm) -> Self
fn from(val: WeekdayAlarm) -> Self
Converts to this type from the input type.
Source§impl From<WeekdayAlarm> for FieldSetValue
impl From<WeekdayAlarm> for FieldSetValue
Source§fn from(val: WeekdayAlarm) -> Self
fn from(val: WeekdayAlarm) -> Self
Converts to this type from the input type.
Source§impl Not for WeekdayAlarm
impl Not for WeekdayAlarm
Source§impl PartialEq for WeekdayAlarm
impl PartialEq for WeekdayAlarm
impl Copy for WeekdayAlarm
impl Eq for WeekdayAlarm
impl StructuralPartialEq for WeekdayAlarm
Auto Trait Implementations§
impl Freeze for WeekdayAlarm
impl RefUnwindSafe for WeekdayAlarm
impl Send for WeekdayAlarm
impl Sync for WeekdayAlarm
impl Unpin for WeekdayAlarm
impl UnsafeUnpin for WeekdayAlarm
impl UnwindSafe for WeekdayAlarm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more