Enum stm32_metapac::rtc::vals::AlrmrWdsel
#[repr(u8)]pub enum AlrmrWdsel {
DATEUNITS = 0,
WEEKDAY = 1,
}
Variants§
DATEUNITS = 0
DU[3:0] represents the date units
WEEKDAY = 1
DU[3:0] represents the week day. DT[1:0] is don’t care
Implementations§
§impl AlrmrWdsel
impl AlrmrWdsel
pub const fn from_bits(val: u8) -> AlrmrWdsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for AlrmrWdsel
impl Clone for AlrmrWdsel
§fn clone(&self) -> AlrmrWdsel
fn clone(&self) -> AlrmrWdsel
Returns a copy 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 more§impl From<AlrmrWdsel> for u8
impl From<AlrmrWdsel> for u8
§fn from(val: AlrmrWdsel) -> u8
fn from(val: AlrmrWdsel) -> u8
Converts to this type from the input type.
§impl From<u8> for AlrmrWdsel
impl From<u8> for AlrmrWdsel
§fn from(val: u8) -> AlrmrWdsel
fn from(val: u8) -> AlrmrWdsel
Converts to this type from the input type.
§impl Ord for AlrmrWdsel
impl Ord for AlrmrWdsel
§impl PartialEq for AlrmrWdsel
impl PartialEq for AlrmrWdsel
§impl PartialOrd for AlrmrWdsel
impl PartialOrd for AlrmrWdsel
impl Copy for AlrmrWdsel
impl Eq for AlrmrWdsel
impl StructuralPartialEq for AlrmrWdsel
Auto Trait Implementations§
impl Freeze for AlrmrWdsel
impl RefUnwindSafe for AlrmrWdsel
impl Send for AlrmrWdsel
impl Sync for AlrmrWdsel
impl Unpin for AlrmrWdsel
impl UnwindSafe for AlrmrWdsel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)