Enum efm32lg390_pac::usb::doep0_tsiz::RXDPIDSUPCNT_A
source · [−]#[repr(u8)]
pub enum RXDPIDSUPCNT_A {
DATA0,
DATA2,
DATA1,
MDATA,
}
Expand description
Receive Data PID / SETUP Packet Count
Value on reset: 0
Variants
DATA0
0: DATA0 PID.
DATA2
1: DATA2 PID / 1 Packet.
DATA1
2: DATA1 PID / 2 Packets.
MDATA
3: MDATA PID / 3 Packets.
Trait Implementations
sourceimpl Clone for RXDPIDSUPCNT_A
impl Clone for RXDPIDSUPCNT_A
sourcefn clone(&self) -> RXDPIDSUPCNT_A
fn clone(&self) -> RXDPIDSUPCNT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RXDPIDSUPCNT_A
impl Debug for RXDPIDSUPCNT_A
sourceimpl From<RXDPIDSUPCNT_A> for u8
impl From<RXDPIDSUPCNT_A> for u8
sourcefn from(variant: RXDPIDSUPCNT_A) -> Self
fn from(variant: RXDPIDSUPCNT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RXDPIDSUPCNT_A> for RXDPIDSUPCNT_A
impl PartialEq<RXDPIDSUPCNT_A> for RXDPIDSUPCNT_A
impl Copy for RXDPIDSUPCNT_A
impl StructuralPartialEq for RXDPIDSUPCNT_A
Auto Trait Implementations
impl RefUnwindSafe for RXDPIDSUPCNT_A
impl Send for RXDPIDSUPCNT_A
impl Sync for RXDPIDSUPCNT_A
impl Unpin for RXDPIDSUPCNT_A
impl UnwindSafe for RXDPIDSUPCNT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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