Struct rp2040_pac2::usb::regs::EpStallArm[][src]

#[repr(transparent)]pub struct EpStallArm(pub u32);

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.

Implementations

impl EpStallArm[src]

pub const fn ep0_out(&self) -> bool[src]

pub fn set_ep0_out(&mut self, val: bool)[src]

pub const fn ep0_in(&self) -> bool[src]

pub fn set_ep0_in(&mut self, val: bool)[src]

Trait Implementations

impl Clone for EpStallArm[src]

impl Copy for EpStallArm[src]

impl Default for EpStallArm[src]

Auto Trait Implementations

impl Send for EpStallArm

impl Sync for EpStallArm

impl Unpin for EpStallArm

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.