Enum Clkslowsel
#[repr(u8)]pub enum Clkslowsel {
B_0X0 = 0,
B_0X1 = 1,
B_0X2 = 2,
B_0X3 = 3,
}Variants§
B_0X0 = 0
LSILMPU oscillator clock (default).
B_0X1 = 1
LSE oscillator clock used as slow clock.
B_0X2 = 2
LSI oscillator clock used as slow clock.
B_0X3 = 3
HSI_64M divided by 2048 used as slow clock.
Implementations§
§impl Clkslowsel
impl Clkslowsel
pub const fn from_bits(val: u8) -> Clkslowsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Clkslowsel
impl Clone for Clkslowsel
§fn clone(&self) -> Clkslowsel
fn clone(&self) -> Clkslowsel
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 more§impl Debug for Clkslowsel
impl Debug for Clkslowsel
§impl From<Clkslowsel> for u8
impl From<Clkslowsel> for u8
§fn from(val: Clkslowsel) -> u8
fn from(val: Clkslowsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Clkslowsel
impl From<u8> for Clkslowsel
§fn from(val: u8) -> Clkslowsel
fn from(val: u8) -> Clkslowsel
Converts to this type from the input type.
§impl Ord for Clkslowsel
impl Ord for Clkslowsel
§impl PartialEq for Clkslowsel
impl PartialEq for Clkslowsel
§impl PartialOrd for Clkslowsel
impl PartialOrd for Clkslowsel
impl Copy for Clkslowsel
impl Eq for Clkslowsel
impl StructuralPartialEq for Clkslowsel
Auto Trait Implementations§
impl Freeze for Clkslowsel
impl RefUnwindSafe for Clkslowsel
impl Send for Clkslowsel
impl Sync for Clkslowsel
impl Unpin for Clkslowsel
impl UnwindSafe for Clkslowsel
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