Trait RccExt

Source
pub trait RccExt: Sealed {
    // Required method
    fn constrain(self) -> Rcc;
}
Expand description

Extension trait that constrains the []RCC] peripheral

Required Methods§

Source

fn constrain(self) -> Rcc

Constrains the RCC peripheral.

Consumes the pac::RCC peripheral and converts it to a HAL internal type constraining it’s public access surface to fit the design of the HAL.

Implementors§