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 PartialOrd for Usbpdctrl
impl PartialOrd for Usbpdctrl
impl Copy for Usbpdctrl
impl Eq for Usbpdctrl
impl StructuralPartialEq for Usbpdctrl
Auto Trait Implementations§
impl Freeze for Usbpdctrl
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
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
)