Enum stm32wlxx_hal::subghz::Ocp
source · #[repr(u8)]pub enum Ocp {
Max60m = 24,
Max140m = 56,
}
Expand description
Power amplifier over current protection.
Used by set_pa_ocp
.
Variants§
Trait Implementations§
source§impl Ord for Ocp
impl Ord for Ocp
source§impl PartialOrd for Ocp
impl PartialOrd for Ocp
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 Ocp
impl Eq for Ocp
impl StructuralEq for Ocp
impl StructuralPartialEq for Ocp
Auto Trait Implementations§
impl RefUnwindSafe for Ocp
impl Send for Ocp
impl Sync for Ocp
impl Unpin for Ocp
impl UnwindSafe for Ocp
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