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
§fn eq(&self, other: &Octospisel) -> bool
fn eq(&self, other: &Octospisel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Octospisel
impl PartialOrd for Octospisel
§fn partial_cmp(&self, other: &Octospisel) -> Option<Ordering>
fn partial_cmp(&self, other: &Octospisel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Octospisel
impl Eq for Octospisel
impl StructuralEq for Octospisel
impl StructuralPartialEq for Octospisel
Auto Trait Implementations§
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