AnalogBlock

Trait AnalogBlock 

Source
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§

Source

fn power_up<'w>(&self, w: &'w mut W) -> &'w mut W

Internal method to power up an analog block

Source

fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W

Internal method to power down an analog block

Implementations on Foreign Types§

Source§

impl<'a> AnalogBlock for ACOMP

Source§

fn power_up<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl<'a> AnalogBlock for ADC0

Source§

fn power_up<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

impl<'a> AnalogBlock for WWDT

Source§

fn power_up<'w>(&self, w: &'w mut W) -> &'w mut W

Source§

fn power_down<'w>(&self, w: &'w mut W) -> &'w mut W

Implementors§