Enum stm32_metapac::rcc::vals::Systicksel
#[repr(u8)]pub enum Systicksel {
HCLK1_DIV_8 = 0,
LSI = 1,
LSE = 2,
_RESERVED_3 = 3,
}
Variants§
HCLK1_DIV_8 = 0
rcc_hclk/8 selected as clock source (default after reset)
LSI = 1
lsi_ker_ck[1] selected as clock source
LSE = 2
lse_ck[1] selected as clock source
_RESERVED_3 = 3
Implementations§
§impl Systicksel
impl Systicksel
pub const fn from_bits(val: u8) -> Systicksel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Systicksel
impl Clone for Systicksel
§fn clone(&self) -> Systicksel
fn clone(&self) -> Systicksel
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<Systicksel> for u8
impl From<Systicksel> for u8
§fn from(val: Systicksel) -> u8
fn from(val: Systicksel) -> u8
Converts to this type from the input type.
§impl From<u8> for Systicksel
impl From<u8> for Systicksel
§fn from(val: u8) -> Systicksel
fn from(val: u8) -> Systicksel
Converts to this type from the input type.
§impl Ord for Systicksel
impl Ord for Systicksel
§impl PartialEq for Systicksel
impl PartialEq for Systicksel
§impl PartialOrd for Systicksel
impl PartialOrd for Systicksel
impl Copy for Systicksel
impl Eq for Systicksel
impl StructuralPartialEq for Systicksel
Auto Trait Implementations§
impl Freeze for Systicksel
impl RefUnwindSafe for Systicksel
impl Send for Systicksel
impl Sync for Systicksel
impl Unpin for Systicksel
impl UnwindSafe for Systicksel
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
)