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 for EpStallArm
impl PartialEq for EpStallArm
impl Copy for EpStallArm
impl Eq for EpStallArm
impl StructuralPartialEq for EpStallArm
Auto Trait Implementations§
impl Freeze for EpStallArm
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
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
)