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

type W = W<u8, ISTAT>;

Writer for register ISTAT

Methods

impl W[src]

pub fn usbrst(&mut self) -> USBRST_W[src]

Bit 0 - This bit is set when the USB Module has decoded a valid USB reset

pub fn error(&mut self) -> ERROR_W[src]

Bit 1 - This bit is set when any of the error conditions within Error Interrupt Status (ERRSTAT) register occur

pub fn softok(&mut self) -> SOFTOK_W[src]

Bit 2 - This bit is set when the USB Module receives a Start Of Frame (SOF) token

pub fn tokdne(&mut self) -> TOKDNE_W[src]

Bit 3 - This bit is set when the current token being processed has completed

pub fn sleep(&mut self) -> SLEEP_W[src]

Bit 4 - This bit is set when the USB Module detects a constant idle on the USB bus for 3 ms

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

Bit 5 - This bit is set depending upon the DP/DM signals, and can be used to signal remote wake-up signaling on the USB bus

pub fn attach(&mut self) -> ATTACH_W[src]

Bit 6 - Attach Interrupt

pub fn stall(&mut self) -> STALL_W[src]

Bit 7 - Stall Interrupt