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