Type Alias R

Source
pub type R = R<ISTRrs>;
Expand description

Register ISTR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ep_id(&self) -> EP_ID_R

Bits 0:3 - Endpoint Identifier

Source

pub fn dir(&self) -> DIR_R

Bit 4 - Direction of transaction

Source

pub fn l1req(&self) -> L1REQ_R

Bit 7 - LPM L1 state request

Source

pub fn esof(&self) -> ESOF_R

Bit 8 - Expected start frame

Source

pub fn sof(&self) -> SOF_R

Bit 9 - start of frame

Source

pub fn reset(&self) -> RESET_R

Bit 10 - reset request

Source

pub fn susp(&self) -> SUSP_R

Bit 11 - Suspend mode request

Source

pub fn wkup(&self) -> WKUP_R

Bit 12 - Wakeup

Source

pub fn err(&self) -> ERR_R

Bit 13 - Error

Source

pub fn pmaovr(&self) -> PMAOVR_R

Bit 14 - Packet memory area over / underrun

Source

pub fn ctr(&self) -> CTR_R

Bit 15 - Correct transfer

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more