Struct stm32f072_hal::stm32::usb::cntr::W

source ·
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Reset value of the register

Writes raw bits to the register

Bit 0 - Force USB Reset

Bit 1 - Power down

Bit 2 - Low-power mode

Bit 3 - Force suspend

Bit 4 - Resume request

Bit 5 - LPM L1 Resume request

Bit 7 - LPM L1 state request interrupt mask

Bit 8 - Expected start of frame interrupt mask

Bit 9 - Start of frame interrupt mask

Bit 10 - USB reset interrupt mask

Bit 11 - Suspend mode interrupt mask

Bit 12 - Wakeup interrupt mask

Bit 13 - Error interrupt mask

Bit 14 - Packet memory area over / underrun interrupt mask

Bit 15 - Correct transfer interrupt mask

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.

Should always be Self
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.