pub struct R(_);
Expand description

Register CR4 reader

Implementations

Bit 0 - Wakeup pin WKUP1 polarity

Bit 1 - Wakeup pin WKUP2 polarity

Bit 3 - Wakeup pin WKUP4 polarity

Bit 4 - Wakeup pin WKUP5 polarity

Bit 5 - WKUP6 wakeup pin polarity

Bit 8 - VBAT battery charging enable

Bit 9 - VBAT battery charging resistor selection

Methods from Deref<Target = R<CR4_SPEC>>

Reads raw bits from register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Converts to this type from the input type.

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.