[][src]Type Definition k22f::usb0::otgstat::W

type W = W<u8, OTGSTAT>;

Writer for register OTGSTAT

Methods

impl W[src]

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

Bit 0 - A VBUS Valid

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

Bit 2 - B Session End

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

Bit 3 - Session Valid

pub fn linestatestable(&mut self) -> LINESTATESTABLE_W[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) -> ONEMSECEN_W[src]

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

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

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