Struct lpc55_hal::drivers::clocks::ClockRequirements[][src]

pub struct ClockRequirements {
    pub system_frequency: Option<Megahertz>,
    pub custom_pll: Option<Pll>,
}

Fields

system_frequency: Option<Megahertz>custom_pll: Option<Pll>

Implementations

Requirements solver - tries to generate and configure a clock configuration from (partial) requirements.

Can be called only once, to not invalidate previous configurations

Same as above, but allows clock to be changed after an initial configuration. This is unsafe because it’s up to the developer to ensure the new configuration is okay for the device peripherals being used.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

Performs the conversion.

Performs the conversion.

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.