// File: STM32L43x_44x_45x_46x.dbgconf // Version: 1.0.0 // Note: refer to STM32L43xxx STM32L44xxx STM32L45xxx STM32L46xxx Reference manual (RM0394) // refer to STM32L431xx, STM32L432xx, STM32L433xx, STM32L442xx, STM32L443xx, STM32L451xx, STM32L452xx, STM32L462xx datasheets // <<< Use Configuration Wizard in Context Menu >>> // Debug MCU configuration register (DBGMCU_CR) // DBG_STANDBY // Debug Standby mode // 0: (FCLK=Off, HCLK=Off) The whole digital part is unpowered. // 1: (FCLK=On, HCLK=On) The digital part is not unpowered and FCLK and HCLK are provided by the internal RC oscillator which remains active // DBG_STOP // Debug Stop mode // 0: (FCLK=Off, HCLK=Off) In STOP mode, the clock controller disables all clocks (including HCLK and FCLK). // 1: (FCLK=On, HCLK=On) When entering STOP mode, FCLK and HCLK are provided by the internal RC oscillator which remains active in STOP mode. // DBG_SLEEP // Debug Sleep mode // 0: (FCLK=On, HCLK=Off) In Sleep mode, FCLK is clocked by the system clock as previously configured by the software while HCLK is disabled. // 1: (FCLK=On, HCLK=On) When entering Sleep mode, HCLK is fed by the same clock that is provided to FCLK (system clock as previously configured by the software). // DbgMCU_CR = 0x00000007; // Debug MCU APB1 freeze register1 (DBGMCU_APB1FZR1) // DBG_LPTIM1_STOP // LPTIM1 counter stopped when core is halted // 0: The counter clock of LPTIM1 is fed even if the core is halted // 1: The counter clock of LPTIM1 is stopped when the core is halted // DBG_CAN_STOP // bxCAN1 stopped when core is halted // 0: Same behavior as in normal mode // 1: The bxCAN1 receive registers are frozen // DBG_I2C3_STOP // I2C3 SMBUS timeout counter stopped when core is halted // 0: Same behavior as in normal mode // 1: The I2C3 SMBus timeout is frozen // DBG_I2C2_STOP // I2C2 SMBUS timeout counter stopped when core is halted // 0: Same behavior as in normal mode // 1: The I2C2 SMBus timeout is frozen // DBG_I2C1_STOP // I2C1 SMBUS timeout counter stopped when core is halted // 0: Same behavior as in normal mode // 1: The I2C1 SMBus timeout is frozen // DBG_IWDG_STOP // Independent watchdog counter stopped when core is halted // 0: The independent watchdog counter clock continues even if the core is halted // 1: The independent watchdog counter clock is stopped when the core is halted // DBG_WWDG_STOP // Window watchdog counter stopped when core is halted // 0: The window watchdog counter clock continues even if the core is halted // 1: The window watchdog counter clock is stopped when the core is halted // DBG_RTC_STOP // RTC counter stopped when core is halted // 0: The clock of the RTC counter is fed even if the core is halted // 1: The clock of the RTC counter is stopped when the core is halted // DBG_TIM7_STOP // TIM7 counter stopped when core is halted // 0: The counter clock of TIM7 is fed even if the core is halted // 1: The counter clock of TIM7 is stopped when the core is halted // DBG_TIM6_STOP // TIM6 counter stopped when core is halted // 0: The counter clock of TIM6 is fed even if the core is halted // 1: The counter clock of TIM6 is stopped when the core is halted // DBG_TIM2_STOP // TIM2 counter stopped when core is halted // 0: The counter clock of TIM2 is fed even if the core is halted // 1: The counter clock of TIM2 is stopped when the core is halted // DbgMCU_APB1_Fz1 = 0x00000000; // Debug MCU APB1 freeze register 2 (DBGMCU_APB1FZR2) // DBG_LPTIM2_STOP // LPTIM2 counter stopped when core is halted // 0: The counter clock of LPTIM2 is fed even if the core is halted // 1: The counter clock of LPTIM2 is stopped when the core is halted // DbgMCU_APB1_Fz2 = 0x00000000; // Debug MCU APB2 freeze register (DBGMCU_APB2FZR) // DBG_TIM16_STOP // TIM16 counter stopped when core is halted // 0: The clock of the TIM16 counter is fed even if the core is halted // 1: The clock of the TIM16 counter is stopped when the core is halted // DBG_TIM15_STOP // TIM15 counter stopped when core is halted // 0: The clock of the TIM15 counter is fed even if the core is halted // 1: The clock of the TIM15 counter is stopped when the core is halted // DBG_TIM1_STOP // TIM1 counter stopped when core is halted // 0: The clock of the TIM1 counter is fed even if the core is halted // 1: The clock of the TIM1 counter is stopped when the core is halted // DbgMCU_APB2_Fz = 0x00000000; // // <<< end of configuration section >>>