pub trait AnalogBlock {
// Required methods
fn power_up<'w>(&self, w: &'w mut W) -> &'w mut W;
fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W;
}Expand description
Internal trait for powering analog blocks
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::power_up and
syscon::Handle::power_down for the public API that uses this trait.
Required Methods§
Sourcefn power_down<'w>(&self, w: &'w mut W) -> &'w mut W
fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W
Internal method to power down an analog block