R

Type Alias R 

Source
pub type R = R<u32, CNTR>;
Expand description

Reader of register CNTR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn fres(&self) -> FRES_R

Bit 0 - Force USB Reset

Source

pub fn pdwn(&self) -> PDWN_R

Bit 1 - Power down

Source

pub fn lpmode(&self) -> LPMODE_R

Bit 2 - Low-power mode

Source

pub fn fsusp(&self) -> FSUSP_R

Bit 3 - Force suspend

Source

pub fn resume(&self) -> RESUME_R

Bit 4 - Resume request

Source

pub fn l1resume(&self) -> L1RESUME_R

Bit 5 - LPM L1 Resume request

Source

pub fn l1reqm(&self) -> L1REQM_R

Bit 7 - LPM L1 state request interrupt mask

Source

pub fn esofm(&self) -> ESOFM_R

Bit 8 - Expected start of frame interrupt mask

Source

pub fn sofm(&self) -> SOFM_R

Bit 9 - Start of frame interrupt mask

Source

pub fn resetm(&self) -> RESETM_R

Bit 10 - USB reset interrupt mask

Source

pub fn suspm(&self) -> SUSPM_R

Bit 11 - Suspend mode interrupt mask

Source

pub fn wkupm(&self) -> WKUPM_R

Bit 12 - Wakeup interrupt mask

Source

pub fn errm(&self) -> ERRM_R

Bit 13 - Error interrupt mask

Source

pub fn pmaovrm(&self) -> PMAOVRM_R

Bit 14 - Packet memory area over / underrun interrupt mask

Source

pub fn ctrm(&self) -> CTRM_R

Bit 15 - Correct transfer interrupt mask