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
§impl PartialOrd for Subghzspinsssel
impl PartialOrd for Subghzspinsssel
impl Copy for Subghzspinsssel
impl Eq for Subghzspinsssel
impl StructuralPartialEq for Subghzspinsssel
Auto Trait Implementations§
impl Freeze for Subghzspinsssel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)