[][src]Struct lpc55_hal::drivers::usbd::endpoint_registers::epr::W

pub struct W { /* fields omitted */ }

Implementations

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn addroff<USB: Usb<Enabled>>(&mut self) -> _ADDROFFW<'_>[src]

Bits 0:15 - Endpoint buffer address offset for full speed, or bits 0:10 for high speed

pub fn nbytes<USB: Usb<Enabled>>(&mut self) -> _NBYTESW<'_>[src]

Bits 16:25 - Endpoint buffer NBytes for full speed, or bits 25:11 for high speed

pub fn t(&mut self) -> _TW<'_>[src]

Bit 26 - Endpoint type

pub fn s(&mut self) -> _SW<'_>[src]

Bit 29 - Stall

pub fn d(&mut self) -> _DW<'_>[src]

Bit 30 - Disabled

pub fn a(&mut self) -> _AW<'_>[src]

Bit 31 - Active

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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> Same<T> for T[src]

type Output = T

Should always be Self

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.