#[repr(u8)]pub enum Ps {
NO_OVERRIDE = 0,
_RESERVED_1 = 1,
PRI_DET_OVERRIDE = 2,
_RESERVED_3 = 3,
}Variants§
NO_OVERRIDE = 0
No overrides. Bit field must remain at this value during normal USB data communication to prevent unexpected conditions on USB_DP and USB_DM pins. (Default)
_RESERVED_1 = 1
PRI_DET_OVERRIDE = 2
Enables VDP_SRC voltage source for the USB_DP pin and IDM_SINK current source for the USB_DM pin.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Ps
impl Ord for Ps
Source§impl PartialOrd for Ps
impl PartialOrd for Ps
impl Copy for Ps
impl Eq for Ps
impl StructuralPartialEq for Ps
Auto Trait Implementations§
impl Freeze for Ps
impl RefUnwindSafe for Ps
impl Send for Ps
impl Sync for Ps
impl Unpin for Ps
impl UnwindSafe for Ps
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