Enum stm32_metapac::rcc::vals::Octospisel
#[repr(u8)]pub enum Octospisel {
SYS = 0,
MSIK = 1,
PLL1_Q = 2,
PLL2_Q = 3,
}
Variants§
SYS = 0
SYSCLK selected
MSIK = 1
MSIK selected
PLL1_Q = 2
PLL1 Q (pll1_q_ck) selected, can be up to 200 MHz
PLL2_Q = 3
PLL2 Q (pll2_q_ck) selected, can be up to 200 MHz
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<Octospisel> for u8
impl From<Octospisel> for u8
§fn from(val: Octospisel) -> u8
fn from(val: Octospisel) -> u8
Converts to this type from the input type.
§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
)