[−][src]Function tm4c129x_hal::sysctl::control_power
pub fn control_power(
_lock: &PowerControl,
pd: Domain,
run_mode: RunMode,
state: PowerState
)
Activate or De-Activate clocks and power to the given peripheral in the given run mode.
We take a reference to PowerControl as a permission check. We don't need an &mut reference as we use atomic writes in the bit-banding area so it's interrupt safe.