Enum stm32_metapac::rcc::vals::Octospisel
#[repr(u8)]pub enum Octospisel {
HCLK5 = 0,
PLL2_S = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}
Variants§
HCLK5 = 0
hclk5 selected as kernel peripheral clock (default after reset).
PLL2_S = 1
pll2_s_ck selected as kernel peripheral clock.
_RESERVED_2 = 2
_RESERVED_3 = 3
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
)