pub struct W(_);
Expand description

Register DEVCMDSTAT writer

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 24 - Device status - connect change.

Bit 25 - Device status - suspend change.

Bit 26 - Device status - reset change.

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.

Writes raw bits to the register.

Methods from Deref<Target = W<DEVCMDSTAT_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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