Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion stm32-data-gen/src/low_power.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ 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),

// __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
Expand Down