Enum stm32wlxx_hal::pwr::LprunRange
source · #[repr(u8)]pub enum LprunRange {
Range100k = 0,
Range200k = 1,
Range400k = 2,
Range800k = 3,
Range1M = 4,
}
Expand description
MSI clock ranges for enter_lprun_msi
.
Variants§
Range100k = 0
Range 0 around 100 kHz.
Range200k = 1
Range 1 around 200 kHz.
Range400k = 2
Range 2 around 400 kHz.
Range800k = 3
Range 3 around 800 kHz.
Range1M = 4
Range 4 around 1 MHz.
Trait Implementations§
source§impl Clone for LprunRange
impl Clone for LprunRange
source§fn clone(&self) -> LprunRange
fn clone(&self) -> LprunRange
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 moresource§impl Debug for LprunRange
impl Debug for LprunRange
source§impl From<LprunRange> for MsiRange
impl From<LprunRange> for MsiRange
source§fn from(lprr: LprunRange) -> Self
fn from(lprr: LprunRange) -> Self
Converts to this type from the input type.
source§impl Ord for LprunRange
impl Ord for LprunRange
source§fn cmp(&self, other: &LprunRange) -> Ordering
fn cmp(&self, other: &LprunRange) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LprunRange
impl PartialEq for LprunRange
source§fn eq(&self, other: &LprunRange) -> bool
fn eq(&self, other: &LprunRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LprunRange
impl PartialOrd for LprunRange
source§fn partial_cmp(&self, other: &LprunRange) -> Option<Ordering>
fn partial_cmp(&self, other: &LprunRange) -> 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 LprunRange
impl Eq for LprunRange
impl StructuralEq for LprunRange
impl StructuralPartialEq for LprunRange
Auto Trait Implementations§
impl RefUnwindSafe for LprunRange
impl Send for LprunRange
impl Sync for LprunRange
impl Unpin for LprunRange
impl UnwindSafe for LprunRange
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