[−][src]Struct lpc55s6x_pac::usbhsd::devcmdstat::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn dev_addr(&self) -> DEV_ADDRR
[src]
Bits 0:6 - USB device address.
pub fn dev_en(&self) -> DEV_ENR
[src]
Bit 7 - USB device enable.
pub fn setup(&self) -> SETUPR
[src]
Bit 8 - SETUP token received.
pub fn force_needclk(&self) -> FORCE_NEEDCLKR
[src]
Bit 9 - Forces the NEEDCLK output to always be on:.
pub fn force_vbus(&self) -> FORCE_VBUSR
[src]
Bit 10 - If this bit is set to 1, the VBUS voltage indicators from the PHY are overruled.
pub fn lpm_sup(&self) -> LPM_SUPR
[src]
Bit 11 - LPM Supported:.
pub fn intonnak_ao(&self) -> INTONNAK_AOR
[src]
Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP:.
pub fn intonnak_ai(&self) -> INTONNAK_AIR
[src]
Bit 13 - Interrupt on NAK for interrupt and bulk IN EP:.
pub fn intonnak_co(&self) -> INTONNAK_COR
[src]
Bit 14 - Interrupt on NAK for control OUT EP:.
pub fn intonnak_ci(&self) -> INTONNAK_CIR
[src]
Bit 15 - Interrupt on NAK for control IN EP:.
pub fn dcon(&self) -> DCONR
[src]
Bit 16 - Device status - connect.
pub fn dsus(&self) -> DSUSR
[src]
Bit 17 - Device status - suspend.
pub fn lpm_sus(&self) -> LPM_SUSR
[src]
Bit 19 - Device status - LPM Suspend.
pub fn lpm_rewp(&self) -> LPM_REWPR
[src]
Bit 20 - LPM Remote Wake-up Enabled by USB host.
pub fn speed(&self) -> SPEEDR
[src]
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).
pub fn dcon_c(&self) -> DCON_CR
[src]
Bit 24 - Device status - connect change.
pub fn dsus_c(&self) -> DSUS_CR
[src]
Bit 25 - Device status - suspend change.
pub fn dres_c(&self) -> DRES_CR
[src]
Bit 26 - Device status - reset change.
pub fn vbus_debounced(&self) -> VBUS_DEBOUNCEDR
[src]
Bit 28 - This bit indicates if VBUS is detected or not.
pub fn phy_test_mode(&self) -> PHY_TEST_MODER
[src]
Bits 29:31 - This field is written by firmware to put the PHY into a test mode as defined by the USB2.
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self