pub enum PhyType {
InternalFullSpeed,
InternalHighSpeed,
ExternalFullSpeed,
ExternalHighSpeed,
}
Expand description
USB PHY type
Variants§
InternalFullSpeed
Internal Full-Speed PHY
Available on most High-Speed peripherals.
InternalHighSpeed
Internal High-Speed PHY
Available on a few STM32 chips.
ExternalFullSpeed
External ULPI Full-Speed PHY (or High-Speed PHY in Full-Speed mode)
ExternalHighSpeed
External ULPI High-Speed PHY
Implementations§
Trait Implementations§
impl Copy for PhyType
impl Eq for PhyType
impl StructuralPartialEq for PhyType
Auto Trait Implementations§
impl Freeze for PhyType
impl RefUnwindSafe for PhyType
impl Send for PhyType
impl Sync for PhyType
impl Unpin for PhyType
impl UnwindSafe for PhyType
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