[][src]Struct efm32gg11b820::usb::diep4_ctl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

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 mps(&mut self) -> _MPSW[src]

Bits 0:10 - Maximum Packet Size

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

Bit 15 - USB Active Endpoint

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

Bits 18:19 - Endpoint Type

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

Bit 21 - Handshake

pub fn txfnum(&mut self) -> _TXFNUMW[src]

Bits 22:25 - TxFIFO Number

pub fn cnak(&mut self) -> _CNAKW[src]

Bit 26 - Clear NAK

pub fn snak(&mut self) -> _SNAKW[src]

Bit 27 - Set NAK

pub fn setd0pidef(&mut self) -> _SETD0PIDEFW[src]

Bit 28 - Set DATA0 PID

pub fn setd1pidof(&mut self) -> _SETD1PIDOFW[src]

Bit 29 - Set DATA1 PID

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

Bit 30 - Endpoint Disable

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

Bit 31 - Endpoint Enable

Auto Trait Implementations

impl Send for W

impl Sync for W

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