Enum stm32_metapac::pwr::vals::Xspicap
#[repr(u8)]pub enum Xspicap {
DISABLED = 0,
ONETHIRD = 1,
TWOTHIRDS = 2,
FULL = 3,
}
Variants§
DISABLED = 0
XSPI Capacitor OFF (default) note: to confirm with analog design.
ONETHIRD = 1
XSPI Capacitor set to 1/3.
TWOTHIRDS = 2
XSPI Capacitor set to 2/3.
FULL = 3
XSPI Capacitor set to full capacitance.
Implementations§
Trait Implementations§
§impl Ord for Xspicap
impl Ord for Xspicap
§impl PartialEq for Xspicap
impl PartialEq for Xspicap
§impl PartialOrd for Xspicap
impl PartialOrd for Xspicap
§fn partial_cmp(&self, other: &Xspicap) -> Option<Ordering>
fn partial_cmp(&self, other: &Xspicap) -> 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 Xspicap
impl Eq for Xspicap
impl StructuralEq for Xspicap
impl StructuralPartialEq for Xspicap
Auto Trait Implementations§
impl RefUnwindSafe for Xspicap
impl Send for Xspicap
impl Sync for Xspicap
impl Unpin for Xspicap
impl UnwindSafe for Xspicap
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