8.2.4.3 DBGMCU_APB2PeriphConfig
void DBGMCU_APB2PeriphConfig ( uint32_t
DBGMCU_Periph, FunctionalState NewState)
Configures APB2 peripheral behavior when the MCU is in Debug
mode.
ï‚· DBGMCU_Periph : specifies the APB2 peripheral. This
parameter can be any combination of the following values:
ï€ DBGMCU_TIM1_STOP : TIM1 counter stopped when
Core is halted.
ï€ DBGMCU_TIM8_STOP : TIM8 counter stopped when
Core is halted.
ï€ DBGMCU_TIM15_STOP : TIM15 counter stopped when
Core is halted.
ï€ DBGMCU_TIM16_STOP : TIM16 counter stopped when
Core is halted.
ï€ DBGMCU_TIM17_STOP : TIM17 counter stopped when
Core is halted.
ï‚· NewState : new state of the specified APB2 peripheral in
Debug mode. This parameter can be: ENABLE or DISABLE.
8.3 DBGMCU Firmware driver defines
8.3.1 DBGMCU
DBGMCU
DBGMCU_Exported_Constants
ï‚· #define: DBGMCU_SLEEP ((uint32_t)0x00000001)
ï‚· #define: DBGMCU_STOP ((uint32_t)0x00000002)
ï‚· #define: DBGMCU_STANDBY ((uint32_t)0x00000004)
ï‚· #define: DBGMCU_TIM2_STOP ((uint32_t)0x00000001)