Struct stm32f042_hal::stm32::pwr::cr::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 8 - Disable backup domain write protection

Bits 5:7 - PVD level selection

Bit 4 - Power voltage detector enable

Bit 3 - Clear standby flag

Bit 2 - Clear wakeup flag

Bit 1 - Power down deepsleep

Bit 0 - Low-power deep sleep

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.