[][src]Struct arduino_mkrzero::usb::host::ctrlb::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: u16) -> &mut W[src]

Writes raw bits to the register

pub fn resume(&mut self) -> _RESUMEW[src]

Bit 1 - Send USB Resume

pub fn spdconf(&mut self) -> _SPDCONFW[src]

Bits 2:3 - Speed Configuration for Host

pub fn tstj(&mut self) -> _TSTJW[src]

Bit 5 - Test mode J

pub fn tstk(&mut self) -> _TSTKW[src]

Bit 6 - Test mode K

pub fn sofe(&mut self) -> _SOFEW[src]

Bit 8 - Start of Frame Generation Enable

pub fn busreset(&mut self) -> _BUSRESETW[src]

Bit 9 - Send USB Reset

pub fn vbusok(&mut self) -> _VBUSOKW[src]

Bit 10 - VBUS is OK

pub fn l1resume(&mut self) -> _L1RESUMEW[src]

Bit 11 - Send L1 Resume

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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, 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]