pub trait ClockControl {
// Required methods
fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W;
fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W;
}Expand description
Internal trait for controlling peripheral clocks
This trait is an internal implementation detail and should neither be implemented nor used outside of LPC8xx HAL. Any changes to this trait won’t be considered breaking changes.
Please refer to syscon::Handle::enable_clock and
syscon::Handle::disable_clock for the public API that uses this trait.
Required Methods§
Sourcefn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W
fn enable_clock<'w>(&self, w: &'w mut W) -> &'w mut W
Internal method to enable a peripheral clock
Sourcefn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W
fn disable_clock<'w>(&self, w: &'w mut W) -> &'w mut W
Internal method to disable a peripheral clock