#[repr(u8)]
pub enum VosRange {
    VOS0,
    VOS1,
    VOS2,
    VOS3,
}
Expand description

Range for the VOS. See H743 RM, section 6.8.6: PWR D3 domain control register. Sets PWR_D3CR, VOS field.

Variants

VOS0

1.26 V - 1.40 V

VOS1

1.15 V - 1.26 V

VOS2

1.05 V - 1.15 V

VOS3

0.95 V - 1.05 V

Implementations

Power regulator voltage scale. Choose the wait states based on VSO range and hclk frequency.. See H743 RM, Table 17: FLASH, or RM0468, table 16. recommended number of wait states and programming delay. Returns a tuple of (number of wait states, programming delay) (FLASH ACR_LATENCY, WRHIGHFREQ) values respectively.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.