Enum stm32_metapac::rcc::vals::Dacholdsel
#[repr(u8)]pub enum Dacholdsel {
DAC_HOLD = 0,
DAC_HOLD_2 = 1,
}
Variants§
DAC_HOLD = 0
dac_hold_ck selected as kernel clock (default after reset)
DAC_HOLD_2 = 1
dac_hold_ck selected as kernel clock
Implementations§
§impl Dacholdsel
impl Dacholdsel
pub const fn from_bits(val: u8) -> Dacholdsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Dacholdsel
impl Clone for Dacholdsel
§fn clone(&self) -> Dacholdsel
fn clone(&self) -> Dacholdsel
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<Dacholdsel> for u8
impl From<Dacholdsel> for u8
§fn from(val: Dacholdsel) -> u8
fn from(val: Dacholdsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Dacholdsel
impl From<u8> for Dacholdsel
§fn from(val: u8) -> Dacholdsel
fn from(val: u8) -> Dacholdsel
Converts to this type from the input type.
§impl Ord for Dacholdsel
impl Ord for Dacholdsel
§impl PartialEq for Dacholdsel
impl PartialEq for Dacholdsel
§fn eq(&self, other: &Dacholdsel) -> bool
fn eq(&self, other: &Dacholdsel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Dacholdsel
impl PartialOrd for Dacholdsel
§fn partial_cmp(&self, other: &Dacholdsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Dacholdsel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Dacholdsel
impl Eq for Dacholdsel
impl StructuralEq for Dacholdsel
impl StructuralPartialEq for Dacholdsel
Auto Trait Implementations§
impl RefUnwindSafe for Dacholdsel
impl Send for Dacholdsel
impl Sync for Dacholdsel
impl Unpin for Dacholdsel
impl UnwindSafe for Dacholdsel
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