Type Alias R

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

Register ISTR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ep_id(&self) -> EP_ID_R

Bits 0:3 - EP_ID

Source

pub fn dir(&self) -> DIR_R

Bit 4 - DIR

Source

pub fn l1req(&self) -> L1REQ_R

Bit 7 - L1REQ

Source

pub fn esof(&self) -> ESOF_R

Bit 8 - ESOF

Source

pub fn sof(&self) -> SOF_R

Bit 9 - SOF

Source

pub fn reset(&self) -> RESET_R

Bit 10 - RESET

Source

pub fn susp(&self) -> SUSP_R

Bit 11 - SUSP

Source

pub fn wkup(&self) -> WKUP_R

Bit 12 - WKUP

Source

pub fn err(&self) -> ERR_R

Bit 13 - ERR

Source

pub fn pmaovr(&self) -> PMAOVR_R

Bit 14 - PMAOVR

Source

pub fn ctr(&self) -> CTR_R

Bit 15 - CTR

Trait Implementations§

Source§

impl Debug for R

Source§

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

Formats the value using the given formatter. Read more