pub struct Days { /* private fields */ }Expand description
Days register. Days are BCD encoded (1-31).
Implementations§
Source§impl Days
impl Days
Sourcepub fn days_ten(&self) -> u8
pub fn days_ten(&self) -> u8
Read the days_ten field of the register.
Days ten’s digit (BCD, 0-3).
Sourcepub fn days_unit(&self) -> u8
pub fn days_unit(&self) -> u8
Read the days_unit field of the register.
Days unit digit (BCD, 0-9).
Sourcepub fn set_days_ten(&mut self, value: u8)
pub fn set_days_ten(&mut self, value: u8)
Write the days_ten field of the register.
Days ten’s digit (BCD, 0-3).
Sourcepub fn set_days_unit(&mut self, value: u8)
pub fn set_days_unit(&mut self, value: u8)
Write the days_unit field of the register.
Days unit digit (BCD, 0-9).
Trait Implementations§
Source§impl BitAndAssign for Days
impl BitAndAssign for Days
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for Days
impl BitOrAssign for Days
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for Days
impl BitXorAssign for Days
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl From<Days> for FieldSetValue
impl From<Days> for FieldSetValue
impl Copy for Days
impl Eq for Days
impl StructuralPartialEq for Days
Auto Trait Implementations§
impl Freeze for Days
impl RefUnwindSafe for Days
impl Send for Days
impl Sync for Days
impl Unpin for Days
impl UnsafeUnpin for Days
impl UnwindSafe for Days
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