[][src]Struct efm32gg11b820::usb::doep4_ctl::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn mps(&self) -> MPSR[src]

Bits 0:10 - Maximum Packet Size

pub fn usbactep(&self) -> USBACTEPR[src]

Bit 15 - USB Active Endpoint

pub fn dpid(&self) -> DPIDR[src]

Bit 16 - Endpoint Data PID

pub fn naksts(&self) -> NAKSTSR[src]

Bit 17 - NAK Status

pub fn eptype(&self) -> EPTYPER[src]

Bits 18:19 - Endpoint Type

pub fn snp(&self) -> SNPR[src]

Bit 20 - Snoop Mode

pub fn stall(&self) -> STALLR[src]

Bit 21 - Handshake

pub fn epdis(&self) -> EPDISR[src]

Bit 30 - Endpoint Disable

pub fn epena(&self) -> EPENAR[src]

Bit 31 - Endpoint Enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self