Enum stm32_metapac::rcc::vals::Msixsrange
#[repr(u8)]pub enum Msixsrange {
Show 16 variants
_RESERVED_0 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
RANGE_4MHZ = 4,
RANGE_2MHZ = 5,
RANGE_1_5MHZ = 6,
RANGE_1MHZ = 7,
RANGE_3_072MHZ = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
_RESERVED_0 = 0
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
RANGE_4MHZ = 4
range 4 around 4M Hz (reset value)
RANGE_2MHZ = 5
range 5 around 2 MHz
RANGE_1_5MHZ = 6
range 6 around 1.5 MHz
RANGE_1MHZ = 7
range 7 around 1 MHz
RANGE_3_072MHZ = 8
range 8 around 3.072 MHz
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
§impl Msixsrange
impl Msixsrange
pub const fn from_bits(val: u8) -> Msixsrange
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Msixsrange
impl Clone for Msixsrange
§fn clone(&self) -> Msixsrange
fn clone(&self) -> Msixsrange
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<Msixsrange> for u8
impl From<Msixsrange> for u8
§fn from(val: Msixsrange) -> u8
fn from(val: Msixsrange) -> u8
Converts to this type from the input type.
§impl From<u8> for Msixsrange
impl From<u8> for Msixsrange
§fn from(val: u8) -> Msixsrange
fn from(val: u8) -> Msixsrange
Converts to this type from the input type.
§impl Ord for Msixsrange
impl Ord for Msixsrange
§impl PartialEq for Msixsrange
impl PartialEq for Msixsrange
§fn eq(&self, other: &Msixsrange) -> bool
fn eq(&self, other: &Msixsrange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Msixsrange
impl PartialOrd for Msixsrange
§fn partial_cmp(&self, other: &Msixsrange) -> Option<Ordering>
fn partial_cmp(&self, other: &Msixsrange) -> 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 Msixsrange
impl Eq for Msixsrange
impl StructuralEq for Msixsrange
impl StructuralPartialEq for Msixsrange
Auto Trait Implementations§
impl RefUnwindSafe for Msixsrange
impl Send for Msixsrange
impl Sync for Msixsrange
impl Unpin for Msixsrange
impl UnwindSafe for Msixsrange
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