pub struct R(_);
Expand description
Register DEVCMDSTAT
reader
Implementations
sourceimpl R
impl R
sourcepub fn dev_addr(&self) -> DEV_ADDR_R
pub fn dev_addr(&self) -> DEV_ADDR_R
Bits 0:6 - USB device address.
sourcepub fn force_needclk(&self) -> FORCE_NEEDCLK_R
pub fn force_needclk(&self) -> FORCE_NEEDCLK_R
Bit 9 - Forces the NEEDCLK output to always be on:.
sourcepub fn intonnak_ao(&self) -> INTONNAK_AO_R
pub fn intonnak_ao(&self) -> INTONNAK_AO_R
Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP:.
sourcepub fn intonnak_ai(&self) -> INTONNAK_AI_R
pub fn intonnak_ai(&self) -> INTONNAK_AI_R
Bit 13 - Interrupt on NAK for interrupt and bulk IN EP:.
sourcepub fn intonnak_co(&self) -> INTONNAK_CO_R
pub fn intonnak_co(&self) -> INTONNAK_CO_R
Bit 14 - Interrupt on NAK for control OUT EP:.
sourcepub fn intonnak_ci(&self) -> INTONNAK_CI_R
pub fn intonnak_ci(&self) -> INTONNAK_CI_R
Bit 15 - Interrupt on NAK for control IN EP:.
sourcepub fn lpm_rewp(&self) -> LPM_REWP_R
pub fn lpm_rewp(&self) -> LPM_REWP_R
Bit 20 - LPM Remote Wake-up Enabled by USB host.
sourcepub fn speed(&self) -> SPEED_R
pub fn speed(&self) -> SPEED_R
Bits 22:23 - This field indicates the speed at which the device operates: 00b: reserved 01b: full-speed 10b: high-speed 11b: super-speed (reserved for future use).
sourcepub fn vbus_debounced(&self) -> VBUS_DEBOUNCED_R
pub fn vbus_debounced(&self) -> VBUS_DEBOUNCED_R
Bit 28 - This bit indicates if VBUS is detected or not.
sourcepub fn phy_test_mode(&self) -> PHY_TEST_MODE_R
pub fn phy_test_mode(&self) -> PHY_TEST_MODE_R
Bits 29:31 - This field is written by firmware to put the PHY into a test mode as defined by the USB2.0 specification
sourcepub fn force_fs(&self) -> FORCE_FS_R
pub fn force_fs(&self) -> FORCE_FS_R
Bit 21 - Force USB device to operate in full-speed mode.
Methods from Deref<Target = R<DEVCMDSTAT_SPEC>>
Trait Implementations
sourceimpl From<R<DEVCMDSTAT_SPEC>> for R
impl From<R<DEVCMDSTAT_SPEC>> for R
sourcefn from(reader: R<DEVCMDSTAT_SPEC>) -> Self
fn from(reader: R<DEVCMDSTAT_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more