Enum nrf52840_pac::usbd::dtoggle::VALUE_A
source · #[repr(u8)]pub enum VALUE_A {
NOP = 0,
DATA0 = 1,
DATA1 = 2,
}
Expand description
Data toggle value
Value on reset: 1
Variants§
NOP = 0
0: No action on data toggle when writing the register with this value
DATA0 = 1
1: Data toggle is DATA0 on endpoint set by EP and IO
DATA1 = 2
2: Data toggle is DATA1 on endpoint set by EP and IO
Trait Implementations§
impl Copy for VALUE_A
impl StructuralPartialEq for VALUE_A
Auto Trait Implementations§
impl Freeze for VALUE_A
impl RefUnwindSafe for VALUE_A
impl Send for VALUE_A
impl Sync for VALUE_A
impl Unpin for VALUE_A
impl UnwindSafe for VALUE_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
)