pub trait Enable: RccBus {
    fn enable(rcc: &mut Rcc);
    fn disable(rcc: &mut Rcc);
    fn is_enabled() -> bool;
    fn is_disabled() -> bool;
    unsafe fn enable_unchecked();
    unsafe fn disable_unchecked();
}
Expand description

Enable/disable peripheral

Required Methods

Enables peripheral

Disables peripheral

Check if peripheral enabled

Check if peripheral disabled

Safety

Enables peripheral. Takes access to RCC internally

Safety

Disables peripheral. Takes access to RCC internally

Implementors