Enum stm32_metapac::rcc::vals::Xspiswp
#[repr(u8)]pub enum Xspiswp {
B_0X0 = 0,
B_0X1 = 1,
B_0X2 = 2,
B_0X3 = 3,
B_0X4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
B_0X0 = 0
The switch is in neutral mode and output clock is gated (default after reset).
B_0X1 = 1
The switch is selecting hclk5.
B_0X2 = 2
The switch is selecting pll2_s_ck.
B_0X3 = 3
The switch is selecting pll2_t_ck.
B_0X4 = 4
The switch is in recovery position (hclk5/4).
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Xspiswp
impl Ord for Xspiswp
§impl PartialEq for Xspiswp
impl PartialEq for Xspiswp
§impl PartialOrd for Xspiswp
impl PartialOrd for Xspiswp
§fn partial_cmp(&self, other: &Xspiswp) -> Option<Ordering>
fn partial_cmp(&self, other: &Xspiswp) -> 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 Xspiswp
impl Eq for Xspiswp
impl StructuralEq for Xspiswp
impl StructuralPartialEq for Xspiswp
Auto Trait Implementations§
impl RefUnwindSafe for Xspiswp
impl Send for Xspiswp
impl Sync for Xspiswp
impl Unpin for Xspiswp
impl UnwindSafe for Xspiswp
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