DBGMCU_Config,在有些应用中是需要设置的。仅在调试模式时起作用。所以并不影响正常程序的执行。 ......
values:●DBGMCU_SLEEP:Keep debugger connection during SLEEP mode ●DBGMCU_STOP:Keep debugger connection during STOP mode ●DBGMCU_STANDBY:Keep debugger connection during STANDBY mode NewState,:new state of the specified low power mode in Debug mode.This parameter can be:ENABLE or DISABLE.
void DBGMCU_APB1PeriphConfig ( uint32_t DBGMCU_Periph, FunctionalState NewState ) DBGMCU_Periph,: specifies the APB1 peripheral. This parameter can be any combination of the following values: DBGMCU_TIM2_STOP: TIM2 counter stopped when Core is halted ...