RccExt

Trait RccExt 

Source
pub trait RccExt {
    // Required methods
    fn constrain(self) -> Rcc;
    fn freeze(self, rcc_cfg: Config) -> Rcc;
}
Expand description

Extension trait that constrains the RCC peripheral

Required Methods§

Source

fn constrain(self) -> Rcc

Constrains the RCC peripheral so it plays nicely with the other abstractions

Source

fn freeze(self, rcc_cfg: Config) -> Rcc

Constrains the RCC peripheral and apply clock configuration

Implementors§