[][src]Struct k64::usb0::otgstat::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: u8) -> &mut Self[src]

Writes raw bits to the register

pub fn avbusvld(&mut self) -> _AVBUSVLDW[src]

Bit 0 - A VBUS Valid

pub fn bsessend(&mut self) -> _BSESSENDW[src]

Bit 2 - B Session End

pub fn sess_vld(&mut self) -> _SESS_VLDW[src]

Bit 3 - Session Valid

pub fn linestatestable(&mut self) -> _LINESTATESTABLEW[src]

Bit 5 - Indicates that the internal signals that control the LINE_STATE_CHG field of OTGISTAT are stable for at least 1 millisecond

pub fn onemsecen(&mut self) -> _ONEMSECENW[src]

Bit 6 - This bit is reserved for the 1ms count, but it is not useful to software.

pub fn id(&mut self) -> _IDW[src]

Bit 7 - Indicates the current state of the ID pin on the USB connector

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]