#[repr(u8)]
pub enum STATE_A {
RESUME,
J,
K,
}
Expand description
State D+ and D- lines will be forced into by the DPDMDRIVE task
Value on reset: 0
Variants
RESUME
1: D+ forced low, D- forced high (K state) for a timing preset in hardware (50 us or 5 ms, depending on bus state)
J
2: D+ forced high, D- forced low (J state)
K
4: D+ forced low, D- forced high (K state)
Trait Implementations
impl Copy for STATE_A
impl StructuralPartialEq for STATE_A
Auto Trait Implementations
impl RefUnwindSafe for STATE_A
impl Send for STATE_A
impl Sync for STATE_A
impl Unpin for STATE_A
impl UnwindSafe for STATE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more