#[repr(u8)]pub enum Ptc {
Show 16 variants
PTC_0 = 0,
PTC_1 = 1,
PTC_2 = 2,
PTC_3 = 3,
PTC_4 = 4,
PTC_5 = 5,
PTC_6 = 6,
PTC_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
PTC_0 = 0
TEST_MODE_DISABLE
PTC_1 = 1
J_STATE
PTC_2 = 2
K_STATE
PTC_3 = 3
SE0 (host) / NAK (device)
PTC_4 = 4
Packet
PTC_5 = 5
FORCE_ENABLE_HS
PTC_6 = 6
FORCE_ENABLE_FS
PTC_7 = 7
FORCE_ENABLE_LS
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for Ptc
impl Ord for Ptc
Source§impl PartialOrd for Ptc
impl PartialOrd for Ptc
impl Copy for Ptc
impl Eq for Ptc
impl StructuralPartialEq for Ptc
Auto Trait Implementations§
impl Freeze for Ptc
impl RefUnwindSafe for Ptc
impl Send for Ptc
impl Sync for Ptc
impl Unpin for Ptc
impl UnwindSafe for Ptc
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