Enum stm32_metapac::pwr::vals::Subghzspinsssel
#[repr(u8)]pub enum Subghzspinsssel {
SUBGHZSPICR = 0,
LPTIM3 = 1,
}
Variants§
SUBGHZSPICR = 0
sub-GHz SPI NSS signal driven from PWR_SUBGHZSPICR.NSS (RFBUSYMS functionality enabled)
LPTIM3 = 1
sub-GHz SPI NSS signal driven from LPTIM3_OUT (RFBUSYMS functionality disabled)
Implementations§
§impl Subghzspinsssel
impl Subghzspinsssel
pub const fn from_bits(val: u8) -> Subghzspinsssel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Subghzspinsssel
impl Clone for Subghzspinsssel
§fn clone(&self) -> Subghzspinsssel
fn clone(&self) -> Subghzspinsssel
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<Subghzspinsssel> for u8
impl From<Subghzspinsssel> for u8
§fn from(val: Subghzspinsssel) -> u8
fn from(val: Subghzspinsssel) -> u8
Converts to this type from the input type.
§impl From<u8> for Subghzspinsssel
impl From<u8> for Subghzspinsssel
§fn from(val: u8) -> Subghzspinsssel
fn from(val: u8) -> Subghzspinsssel
Converts to this type from the input type.
§impl Ord for Subghzspinsssel
impl Ord for Subghzspinsssel
§impl PartialEq for Subghzspinsssel
impl PartialEq for Subghzspinsssel
§fn eq(&self, other: &Subghzspinsssel) -> bool
fn eq(&self, other: &Subghzspinsssel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Subghzspinsssel
impl PartialOrd for Subghzspinsssel
§fn partial_cmp(&self, other: &Subghzspinsssel) -> Option<Ordering>
fn partial_cmp(&self, other: &Subghzspinsssel) -> 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 Subghzspinsssel
impl Eq for Subghzspinsssel
impl StructuralEq for Subghzspinsssel
impl StructuralPartialEq for Subghzspinsssel
Auto Trait Implementations§
impl RefUnwindSafe for Subghzspinsssel
impl Send for Subghzspinsssel
impl Sync for Subghzspinsssel
impl Unpin for Subghzspinsssel
impl UnwindSafe for Subghzspinsssel
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