pub struct R(_);
Expand description

Register DEVCMDSTAT reader

Implementations

Bits 0:6 - USB device address.

Bit 7 - USB device enable.

Bit 8 - SETUP token received.

Bit 9 - Forces the NEEDCLK output to always be on:.

Bit 11 - LPM Supported:.

Bit 12 - Interrupt on NAK for interrupt and bulk OUT EP:.

Bit 13 - Interrupt on NAK for interrupt and bulk IN EP:.

Bit 14 - Interrupt on NAK for control OUT EP:.

Bit 15 - Interrupt on NAK for control IN EP:.

Bit 16 - Device status - connect.

Bit 17 - Device status - suspend.

Bit 19 - Device status - LPM Suspend.

Bit 20 - LPM Remote Wake-up Enabled by USB host.

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).

Bit 24 - Device status - connect change.

Bit 25 - Device status - suspend change.

Bit 26 - Device status - reset change.

Bit 28 - This bit indicates if VBUS is detected or not.

Bits 29:31 - This field is written by firmware to put the PHY into a test mode as defined by the USB2.0 specification

Bit 21 - Force USB device to operate in full-speed mode.

Methods from Deref<Target = R<DEVCMDSTAT_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.