Enum stm32wlxx_hal::subghz::RegMode
source · #[repr(u8)]pub enum RegMode {
Ldo = 0,
Smps = 1,
}
Expand description
Radio power supply selection.
Variants§
Ldo = 0
Linear dropout regulator
Smps = 1
Switch mode power supply.
Used in standby with HSE32, FS, RX, and TX modes.
Trait Implementations§
source§impl Ord for RegMode
impl Ord for RegMode
source§impl PartialEq for RegMode
impl PartialEq for RegMode
source§impl PartialOrd for RegMode
impl PartialOrd for RegMode
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 RegMode
impl Eq for RegMode
impl StructuralEq for RegMode
impl StructuralPartialEq for RegMode
Auto Trait Implementations§
impl RefUnwindSafe for RegMode
impl Send for RegMode
impl Sync for RegMode
impl Unpin for RegMode
impl UnwindSafe for RegMode
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