diff --git a/stm32-data-gen/src/low_power.rs b/stm32-data-gen/src/low_power.rs index 5c0f2373a..2ea25b677 100644 --- a/stm32-data-gen/src/low_power.rs +++ b/stm32-data-gen/src/low_power.rs @@ -18,7 +18,13 @@ pub(crate) fn peripheral_stop_mode_info(mcu_name: &str, peripheral: &str) -> Opt (r"^STM32WB55.*:LPUART1", StopMode::Standby), (r"^STM32WB55.*:I2C1", StopMode::Stop2), (r"^STM32WB55.*:I2C3", StopMode::Standby), - + (r"^STM32WLE5.*:LPUART1", StopMode::Standby), + (r"^STM32WLE5.*:I2C1", StopMode::Stop2), + (r"^STM32WLE5.*:I2C2", StopMode::Stop2), + (r"^STM32WLE5.*:I2C3", StopMode::Standby), + (r"^STM32WLE5.*:LPTIM1", StopMode::Standby), + (r"^STM32WLE5.*:SUBGHZSPI", StopMode::Stop2), + (r"^STM32WLE5.*:ADC1", StopMode::Stop2), // __ATTENTION__: Keep these rules at the bottom to grant precedence to the more specific rules above // Every peripheral with LP prefix is assumed to be able enter up to Stop1 mode