Enum efm32gg11b_pac::efm32gg11b840::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§
source§impl Clone for RXDPIDSUPCNT_A
impl Clone for RXDPIDSUPCNT_A
source§fn clone(&self) -> RXDPIDSUPCNT_A
fn clone(&self) -> RXDPIDSUPCNT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RXDPIDSUPCNT_A
impl Debug for RXDPIDSUPCNT_A
source§impl From<RXDPIDSUPCNT_A> for u8
impl From<RXDPIDSUPCNT_A> for u8
source§fn from(variant: RXDPIDSUPCNT_A) -> Self
fn from(variant: RXDPIDSUPCNT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<RXDPIDSUPCNT_A> for RXDPIDSUPCNT_A
impl PartialEq<RXDPIDSUPCNT_A> for RXDPIDSUPCNT_A
source§fn eq(&self, other: &RXDPIDSUPCNT_A) -> bool
fn eq(&self, other: &RXDPIDSUPCNT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.