Enum stm32_metapac::rcc::vals::Usbpdctrl
#[repr(u8)]pub enum Usbpdctrl {
REMAINPOWERED = 0,
POWERDOWN = 1,
}
Variants§
REMAINPOWERED = 0
In SUSPEND, PHY state machine, bias and USBPHYC PLL remain powered (default after reset).
POWERDOWN = 1
In SUSPEND, PHY state machine, bias and USBPHYC PLL are powered down.
Implementations§
Trait Implementations§
§impl Ord for Usbpdctrl
impl Ord for Usbpdctrl
§impl PartialEq for Usbpdctrl
impl PartialEq for Usbpdctrl
§impl PartialOrd for Usbpdctrl
impl PartialOrd for Usbpdctrl
§fn partial_cmp(&self, other: &Usbpdctrl) -> Option<Ordering>
fn partial_cmp(&self, other: &Usbpdctrl) -> 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 Usbpdctrl
impl Eq for Usbpdctrl
impl StructuralEq for Usbpdctrl
impl StructuralPartialEq for Usbpdctrl
Auto Trait Implementations§
impl RefUnwindSafe for Usbpdctrl
impl Send for Usbpdctrl
impl Sync for Usbpdctrl
impl Unpin for Usbpdctrl
impl UnwindSafe for Usbpdctrl
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