[][src]Struct sodaq_one::usb::host::intflag::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 hsof(&mut self) -> _HSOFW[src]

Bit 2 - Host Start Of Frame

pub fn rst(&mut self) -> _RSTW[src]

Bit 3 - Bus Reset

pub fn wakeup(&mut self) -> _WAKEUPW[src]

Bit 4 - Wake Up

pub fn dnrsm(&mut self) -> _DNRSMW[src]

Bit 5 - Downstream

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

Bit 6 - Upstream Resume from the Device

pub fn ramacer(&mut self) -> _RAMACERW[src]

Bit 7 - Ram Access

pub fn dconn(&mut self) -> _DCONNW[src]

Bit 8 - Device Connection

pub fn ddisc(&mut self) -> _DDISCW[src]

Bit 9 - Device Disconnection

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]