[][src]Type Definition fomu_pac::usb::setup_status::R

type R = R<u8, SETUP_STATUS>;

Reader of register SETUP_STATUS

Methods

impl R[src]

pub fn epno(&self) -> EPNO_R[src]

Bits 0:3 - The destination endpoint for the most recent SETUP token.

pub fn have(&self) -> HAVE_R[src]

Bit 4 - 1 if there is data in the FIFO.

pub fn pend(&self) -> PEND_R[src]

Bit 5 - 1 if there is an IRQ pending.

pub fn is_in(&self) -> IS_IN_R[src]

Bit 6 - 1 if an IN stage was detected.

pub fn data(&self) -> DATA_R[src]

Bit 7 - 1 if a DATA stage is expected.