Enum nrf52840_pac::usbd::dpdmvalue::STATE_A
source · #[repr(u8)]pub enum STATE_A {
RESUME = 1,
J = 2,
K = 4,
}
Expand description
State D+ and D- lines will be forced into by the DPDMDRIVE task
Value on reset: 0
Variants§
RESUME = 1
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
2: D+ forced high, D- forced low (J state)
K = 4
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 Freeze for STATE_A
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)