You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Power down the ADC voltage regulator as apart of the Adc::power_off()
method.
Additionally remove powering up the regulator in the Adc::new() method
to allow the Adc struct to be instantiated while in low power run mode.
The regulator will automatically be powered on when ADEN is set.
This is a partial fix for issue stm32-rs#231
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
The text was updated successfully, but these errors were encountered: