Assert CR2.USV on stm32wb55, wb35 series chips

ref RM0434 p. 175
This commit is contained in:
Kaitlyn Kenwell 2023-12-08 17:06:37 -05:00
parent 6629c7525b
commit 4d3fcd8d2d

View File

@ -263,7 +263,7 @@ impl<'d, T: Instance> Driver<'d, T> {
let regs = T::regs();
#[cfg(stm32l5)]
#[cfg(any(stm32l5, stm32wb55, stm32wb35))]
crate::pac::PWR.cr2().modify(|w| w.set_usv(true));
#[cfg(pwr_h5)]