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
§impl PartialOrd for Radiostsel
impl PartialOrd for Radiostsel
impl Copy for Radiostsel
impl Eq for Radiostsel
impl StructuralPartialEq for Radiostsel
Auto Trait Implementations§
impl Freeze for Radiostsel
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
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
)