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

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

Interrupt endpoint 15. Only valid for HOST mode.

Implementations

impl AddrEndpX[src]

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

Interrupt EP requires preamble (is a low speed device on a full speed hub)

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

Interrupt EP requires preamble (is a low speed device on a full speed hub)

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

Direction of the interrupt endpoint. In=0, Out=1

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

Direction of the interrupt endpoint. In=0, Out=1

pub const fn endpoint(&self) -> u8[src]

Endpoint number of the interrupt endpoint

pub fn set_endpoint(&mut self, val: u8)[src]

Endpoint number of the interrupt endpoint

pub const fn address(&self) -> u8[src]

Device address

pub fn set_address(&mut self, val: u8)[src]

Device address

Trait Implementations

impl Clone for AddrEndpX[src]

impl Copy for AddrEndpX[src]

impl Default for AddrEndpX[src]

Auto Trait Implementations

impl Send for AddrEndpX

impl Sync for AddrEndpX

impl Unpin for AddrEndpX

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.