We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024025b commit 16de589Copy full SHA for 16de589
src/pwr.rs
@@ -167,18 +167,12 @@ impl PWR {
167
168
/// Private method to set LPSDSR
169
fn set_lpsdsr(&mut self) {
170
- #[cfg(feature = "stm32l0x1")]
171
self.0.cr.modify(|_, w| w.lpsdsr().low_power_mode());
172
- #[cfg(any(feature = "stm32l0x2", feature = "stm32l0x3"))]
173
- self.0.cr.modify(|_, w| w.lpds().set_bit());
174
}
175
176
/// Private method to clear LPSDSR
177
fn clear_lpsdsr(&mut self) {
178
179
self.0.cr.modify(|_, w| w.lpsdsr().main_mode());
180
181
- self.0.cr.modify(|_, w| w.lpds().clear_bit());
182
183
184
0 commit comments