Enum Octospisel
#[repr(u8)]pub enum Octospisel {
HCLK4 = 0,
PLL1_Q = 1,
PLL2_R = 2,
PER = 3,
}
Variants§
HCLK4 = 0
rcc_hclk selected as kernel clock (default after reset)
PLL1_Q = 1
pll1_q_ck selected as kernel clock
PLL2_R = 2
pll2_r_ck selected as kernel clock
PER = 3
per_ck selected as kernel clock
Implementations§
§impl Octospisel
impl Octospisel
pub const fn from_bits(val: u8) -> Octospisel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Octospisel
impl Clone for Octospisel
§fn clone(&self) -> Octospisel
fn clone(&self) -> Octospisel
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<u8> for Octospisel
impl From<u8> for Octospisel
§fn from(val: u8) -> Octospisel
fn from(val: u8) -> Octospisel
Converts to this type from the input type.
§impl Ord for Octospisel
impl Ord for Octospisel
§impl PartialEq for Octospisel
impl PartialEq for Octospisel
§impl PartialOrd for Octospisel
impl PartialOrd for Octospisel
impl Copy for Octospisel
impl Eq for Octospisel
impl StructuralPartialEq for Octospisel
Auto Trait Implementations§
impl Freeze for Octospisel
impl RefUnwindSafe for Octospisel
impl Send for Octospisel
impl Sync for Octospisel
impl Unpin for Octospisel
impl UnwindSafe for Octospisel
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
)