// File: STM32H562xx_H563xx_H573xx.dbgconf
// Version: 1.0.1
// Note: refer to STM32H563/H573 and STM32H562 reference manual (RM0481)
// refer to STM32H562xx STM32H563xx STM32H573xx datasheets
// <<< Use Configuration Wizard in Context Menu >>>
// Debug MCU configuration register (DBGMCU_CR)
// DBG_STANDBY Debug standby mode
// DBG_STOP Debug stop mode
//
DbgMCU_CR = 0x00000006;
// Debug MCU APB1L freeze register (DBGMCU_APB1LFZR)
// Reserved bits must be kept at reset value
// DBG_I2C3_STOP I2C3 SMBUS timeout is frozen while CPU is in debug mode
// DBG_I2C2_STOP I2C2 SMBUS timeout is frozen while CPU is in debug mode
// DBG_I2C1_STOP I2C1 SMBUS timeout is frozen while CPU is in debug mode
// DBG_IWDG_STOP Debug independent watchdog is frozen while CPU is in debug mode
// DBG_WWDG_STOP Debug window watchdog is frozen while CPU is in debug mode
// DBG_TIM14_STOP TIM14 is frozen while CPU is in debug mode
// DBG_TIM13_STOP TIM13 is frozen while CPU is in debug mode
// DBG_TIM12_STOP TIM12 is frozen while CPU is in debug mode
// DBG_TIM7_STOP TIM7 is frozen while CPU is in debug mode
// DBG_TIM6_STOP TIM6 is frozen while CPU is in debug mode
// DBG_TIM5_STOP TIM5 is frozen while CPU is in debug mode
// DBG_TIM4_STOP TIM4 is frozen while CPU is in debug mode
// DBG_TIM3_STOP TIM3 is frozen while CPU is in debug mode
// DBG_TIM2_STOP TIM2 is frozen while CPU is in debug mode
//
DbgMCU_APB1L_Fz = 0x00000000;
// Debug MCU APB1H freeze register (DBGMCU_APB1HFZR)
// Reserved bits must be kept at reset value
// DBG_LPTIM2_STOP LPTIM2 is frozen while CPU is in debug mode
//
DbgMCU_APB1H_Fz = 0x00000000;
// Debug MCU APB2 freeze register (DBGMCU_APB2FZR)
// Reserved bits must be kept at reset value
// DBG_TIM17_STOP TIM17 is frozen while CPU is in debug mode
// DBG_TIM16_STOP TIM16 is frozen while CPU is in debug mode
// DBG_TIM15_STOP TIM15 is frozen while CPU is in debug mode
// DBG_TIM8_STOP TIM8 is frozen while CPU is in debug mode
// DBG_TIM1_STOP TIM1 is frozen while CPU is in debug mode
//
DbgMCU_APB2_Fz = 0x00000000;
// Debug MCU APB3 freeze register (DBGMCU_APB3FZR)
// Reserved bits must be kept at reset value
// DBG_RTC_STOP RTC is frozen while CPU is in debug mode.
// DBG_LPTIM6_STOP LPTIM6 is frozen while CPU is in debug mode
// DBG_LPTIM5_STOP LPTIM5 is frozen while CPU is in debug mode
// DBG_LPTIM4_STOP LPTIM4 is frozen while CPU is in debug mode
// DBG_LPTIM3_STOP LPTIM3 is frozen while CPU is in debug mode
// DBG_LPTIM1_STOP LPTIM1 is frozen while CPU is in debug mode
// DBG_I2C4_STOP I2C3 is frozen while CPU is in debug mode
// DBG_I2C3_STOP I2C3 is frozen while CPU is in debug mode
//
DbgMCU_APB3_Fz = 0x00000000;
// Debug MCU AHB1 freeze register (DBGMCU_AHB1FZR)
// Reserved bits must be kept at reset value
// DBG_GPDMA2_15_STOP GPDMA2 channel 15 is frozen while CPU is in debug mode
// DBG_GPDMA2_14_STOP GPDMA2 channel 14 is frozen while CPU is in debug mode
// DBG_GPDMA2_13_STOP GPDMA2 channel 13 is frozen while CPU is in debug mode
// DBG_GPDMA2_12_STOP GPDMA2 channel 12 is frozen while CPU is in debug mode
// DBG_GPDMA2_11_STOP GPDMA2 channel 11 is frozen while CPU is in debug mode
// DBG_GPDMA2_10_STOP GPDMA2 channel 10 is frozen while CPU is in debug mode
// DBG_GPDMA2_9_STOP GPDMA2 channel 9 is frozen while CPU is in debug mode
// DBG_GPDMA2_8_STOP GPDMA2 channel 8 is frozen while CPU is in debug mode
// DBG_GPDMA2_7_STOP GPDMA2 channel 7 is frozen while CPU is in debug mode
// DBG_GPDMA2_6_STOP GPDMA2 channel 6 is frozen while CPU is in debug mode
// DBG_GPDMA2_5_STOP GPDMA2 channel 5 is frozen while CPU is in debug mode
// DBG_GPDMA2_4_STOP GPDMA2 channel 4 is frozen while CPU is in debug mode
// DBG_GPDMA2_3_STOP GPDMA2 channel 3 is frozen while CPU is in debug mode
// DBG_GPDMA2_2_STOP GPDMA2 channel 2 is frozen while CPU is in debug mode
// DBG_GPDMA2_1_STOP GPDMA2 channel 1 is frozen while CPU is in debug mode
// DBG_GPDMA2_0_STOP GPDMA2 channel 0 is frozen while CPU is in debug mode
// DBG_GPDMA1_15_STOP GPDMA1 channel 15 is frozen while CPU is in debug mode
// DBG_GPDMA1_14_STOP GPDMA1 channel 14 is frozen while CPU is in debug mode
// DBG_GPDMA1_13_STOP GPDMA1 channel 13 is frozen while CPU is in debug mode
// DBG_GPDMA1_12_STOP GPDMA1 channel 12 is frozen while CPU is in debug mode
// DBG_GPDMA1_11_STOP GPDMA1 channel 11 is frozen while CPU is in debug mode
// DBG_GPDMA1_10_STOP GPDMA1 channel 10 is frozen while CPU is in debug mode
// DBG_GPDMA1_9_STOP GPDMA1 channel 9 is frozen while CPU is in debug mode
// DBG_GPDMA1_8_STOP GPDMA1 channel 8 is frozen while CPU is in debug mode
// DBG_GPDMA1_7_STOP GPDMA1 channel 7 is frozen while CPU is in debug mode
// DBG_GPDMA1_6_STOP GPDMA1 channel 6 is frozen while CPU is in debug mode
// DBG_GPDMA1_5_STOP GPDMA1 channel 5 is frozen while CPU is in debug mode
// DBG_GPDMA1_4_STOP GPDMA1 channel 4 is frozen while CPU is in debug mode
// DBG_GPDMA1_3_STOP GPDMA1 channel 3 is frozen while CPU is in debug mode
// DBG_GPDMA1_2_STOP GPDMA1 channel 2 is frozen while CPU is in debug mode
// DBG_GPDMA1_1_STOP GPDMA1 channel 1 is frozen while CPU is in debug mode
// DBG_GPDMA1_0_STOP GPDMA1 channel 0 is frozen while CPU is in debug mode
//
DbgMCU_AHB1_Fz = 0x00000000;
// TPIU Pin Routing
// TRACECLK
// ETM Trace Clock
// <0x00040002=> Pin PE2
// TRACED0
// ETM Trace Data 0
// <0x0006000D=> Pin PG13
// <0x00040003=> Pin PE3
// <0x00020001=> Pin PC1
// TRACED1
// ETM Trace Data 1
// <0x0006000E=> Pin PG14
// <0x00040004=> Pin PE4
// <0x00020008=> Pin PC8
// TRACED2
// ETM Trace Data 2
// <0x00040005=> Pin PE5
// <0x00030002=> Pin PD2
// TRACED3
// ETM Trace Data 3
// <0x0002000C=> Pin PC12
// <0x00040006=> Pin PE6
//
TraceClk_Pin = 0x00040002;
TraceD0_Pin = 0x00040003;
TraceD1_Pin = 0x00040004;
TraceD2_Pin = 0x00040005;
TraceD3_Pin = 0x00040006;
// <<< end of configuration section >>>