#[repr(u8)]pub enum Ptc {
Show 16 variants
TST_MODE_DIS = 0,
J_STATE = 1,
K_STATE = 2,
SE0 = 3,
PCKT = 4,
HS = 5,
FS = 6,
LS = 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§
TST_MODE_DIS = 0
TEST_MODE_DISABLE
J_STATE = 1
J_STATE
K_STATE = 2
K_STATE
SE0 = 3
SE0 (host) or NAK (device)
PCKT = 4
Packet
HS = 5
FORCE_ENABLE_HS
FS = 6
FORCE_ENABLE_FS
LS = 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