Struct lpc55_hal::peripherals::pmc::Pmc [−][src]
pub struct Pmc { /* fields omitted */ }
Implementations
impl Pmc
[src]
impl Pmc
[src]pub fn power_on<P: PowerControl>(&mut self, peripheral: &mut P)
[src]
Enables the power for a peripheral or other hardware component
pub fn power_off<P: PowerControl>(&mut self, peripheral: &mut P)
[src]
Disable the power
pub fn is_powered<P: PowerControl>(&self, peripheral: &P) -> bool
[src]
Check if peripheral is powered