[][src]Struct arduino_mkrzero::usb::device::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 detach(&mut self) -> _DETACHW[src]

Bit 0 - Detach

pub fn uprsm(&mut self) -> _UPRSMW[src]

Bit 1 - Upstream Resume

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

Bits 2:3 - Speed Configuration

pub fn nreply(&mut self) -> _NREPLYW[src]

Bit 4 - No Reply

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

Bit 7 - Test packet mode

pub fn opmode2(&mut self) -> _OPMODE2W[src]

Bit 8 - Specific Operational Mode

pub fn gnak(&mut self) -> _GNAKW[src]

Bit 9 - Global NAK

pub fn lpmhdsk(&mut self) -> _LPMHDSKW[src]

Bits 10:11 - Link Power Management Handshake

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]