Enum stm32_metapac::rcc::vals::Radiostsel
#[repr(u8)]pub enum Radiostsel {
DISABLE = 0,
LSE = 1,
_RESERVED_2 = 2,
HSE = 3,
}
Variants§
DISABLE = 0
no clock selected, 2.4 GHz RADIO sleep timer kernel clock disabled
LSE = 1
LSE oscillator clock selected
_RESERVED_2 = 2
HSE = 3
HSE oscillator clock divided by 1000 selected
Implementations§
§impl Radiostsel
impl Radiostsel
pub const fn from_bits(val: u8) -> Radiostsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Radiostsel
impl Clone for Radiostsel
§fn clone(&self) -> Radiostsel
fn clone(&self) -> Radiostsel
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<Radiostsel> for u8
impl From<Radiostsel> for u8
§fn from(val: Radiostsel) -> u8
fn from(val: Radiostsel) -> u8
Converts to this type from the input type.
§impl From<u8> for Radiostsel
impl From<u8> for Radiostsel
§fn from(val: u8) -> Radiostsel
fn from(val: u8) -> Radiostsel
Converts to this type from the input type.
§impl Ord for Radiostsel
impl Ord for Radiostsel
§impl PartialEq for Radiostsel
impl PartialEq for Radiostsel
§fn eq(&self, other: &Radiostsel) -> bool
fn eq(&self, other: &Radiostsel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Radiostsel
impl PartialOrd for Radiostsel
§fn partial_cmp(&self, other: &Radiostsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Radiostsel) -> 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 Radiostsel
impl Eq for Radiostsel
impl StructuralEq for Radiostsel
impl StructuralPartialEq for Radiostsel
Auto Trait Implementations§
impl RefUnwindSafe for Radiostsel
impl Send for Radiostsel
impl Sync for Radiostsel
impl Unpin for Radiostsel
impl UnwindSafe for Radiostsel
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