Enum 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 duplicate 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 Debug for Radiostsel
impl Debug for Radiostsel
§impl Format for Radiostsel
impl Format for Radiostsel
§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§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.