Skip to main content

ClockControl

Trait ClockControl 

Source
pub trait ClockControl {
    // Required methods
    fn enable(&self);
    fn reset(&self);
}
Expand description

Minimal clock/reset hooks for chip-specific peripheral drivers.

Required Methods§

Source

fn enable(&self)

Enable the peripheral clock.

Source

fn reset(&self)

Reset the peripheral when the chip supports a local reset.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§