Struct rp_pac::usb::regs::EpStallArm
source · #[repr(transparent)]pub struct EpStallArm(pub u32);
Expand description
Device: this bit must be set in conjunction with the STALL
bit in the buffer control register to send a STALL on EP0. The device controller clears these bits when a SETUP packet is received because the USB spec requires that a STALL condition is cleared when a SETUP packet is received.
Tuple Fields§
§0: u32
Implementations§
source§impl EpStallArm
impl EpStallArm
Trait Implementations§
source§impl Clone for EpStallArm
impl Clone for EpStallArm
source§fn clone(&self) -> EpStallArm
fn clone(&self) -> EpStallArm
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 Default for EpStallArm
impl Default for EpStallArm
source§fn default() -> EpStallArm
fn default() -> EpStallArm
Returns the “default value” for a type. Read more
source§impl PartialEq<EpStallArm> for EpStallArm
impl PartialEq<EpStallArm> for EpStallArm
source§fn eq(&self, other: &EpStallArm) -> bool
fn eq(&self, other: &EpStallArm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EpStallArm
impl Eq for EpStallArm
impl StructuralEq for EpStallArm
impl StructuralPartialEq for EpStallArm
Auto Trait Implementations§
impl RefUnwindSafe for EpStallArm
impl Send for EpStallArm
impl Sync for EpStallArm
impl Unpin for EpStallArm
impl UnwindSafe for EpStallArm
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