pub trait ModuleStop: SealedModuleStop {
// Required methods
fn active() -> bool;
fn start_module();
fn stop_module();
}Expand description
A trait that provides a consistent interface to “module stop” functionality.
Required Methods§
Sourcefn start_module()
fn start_module()
Enables the peripheral clock.
Sourcefn stop_module()
fn stop_module()
Disables the peripheral clock.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".