Open sreyhani opened 10 months ago
the only way to disable voltage regulater before going to sleep is to manually edit register yourself, which also needs access to internal rb by calling release on ADC, which deconsturcts the adc
adc.release().cr.modify(|_, w| w.advregen().clear_bit());
would be nice to have a direct API on this
the only way to disable voltage regulater before going to sleep is to manually edit register yourself, which also needs access to internal rb by calling release on ADC, which deconsturcts the adc
would be nice to have a direct API on this