| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- // 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 >>>
- // <h> Debug MCU configuration register (DBGMCU_CR)
- // <o.2> DBG_STANDBY <i> Debug standby mode
- // <o.1> DBG_STOP <i> Debug stop mode
- // </h>
- DbgMCU_CR = 0x00000006;
- // <h> Debug MCU APB1L freeze register (DBGMCU_APB1LFZR)
- // <i> Reserved bits must be kept at reset value
- // <o.23> DBG_I2C3_STOP <i> I2C3 SMBUS timeout is frozen while CPU is in debug mode
- // <o.22> DBG_I2C2_STOP <i> I2C2 SMBUS timeout is frozen while CPU is in debug mode
- // <o.21> DBG_I2C1_STOP <i> I2C1 SMBUS timeout is frozen while CPU is in debug mode
- // <o.12> DBG_IWDG_STOP <i> Debug independent watchdog is frozen while CPU is in debug mode
- // <o.11> DBG_WWDG_STOP <i> Debug window watchdog is frozen while CPU is in debug mode
- // <o.8> DBG_TIM14_STOP <i> TIM14 is frozen while CPU is in debug mode
- // <o.7> DBG_TIM13_STOP <i> TIM13 is frozen while CPU is in debug mode
- // <o.6> DBG_TIM12_STOP <i> TIM12 is frozen while CPU is in debug mode
- // <o.5> DBG_TIM7_STOP <i> TIM7 is frozen while CPU is in debug mode
- // <o.4> DBG_TIM6_STOP <i> TIM6 is frozen while CPU is in debug mode
- // <o.3> DBG_TIM5_STOP <i> TIM5 is frozen while CPU is in debug mode
- // <o.2> DBG_TIM4_STOP <i> TIM4 is frozen while CPU is in debug mode
- // <o.1> DBG_TIM3_STOP <i> TIM3 is frozen while CPU is in debug mode
- // <o.0> DBG_TIM2_STOP <i> TIM2 is frozen while CPU is in debug mode
- // </h>
- DbgMCU_APB1L_Fz = 0x00E019FF;
- // <h> Debug MCU APB1H freeze register (DBGMCU_APB1HFZR)
- // <i> Reserved bits must be kept at reset value
- // <o.5> DBG_LPTIM2_STOP <i> LPTIM2 is frozen while CPU is in debug mode
- // </h>
- DbgMCU_APB1H_Fz = 0x00000020;
- // <h> Debug MCU APB2 freeze register (DBGMCU_APB2FZR)
- // <i> Reserved bits must be kept at reset value
- // <o.18> DBG_TIM17_STOP <i> TIM17 is frozen while CPU is in debug mode
- // <o.17> DBG_TIM16_STOP <i> TIM16 is frozen while CPU is in debug mode
- // <o.16> DBG_TIM15_STOP <i> TIM15 is frozen while CPU is in debug mode
- // <o.13> DBG_TIM8_STOP <i> TIM8 is frozen while CPU is in debug mode
- // <o.11> DBG_TIM1_STOP <i> TIM1 is frozen while CPU is in debug mode
- // </h>
- DbgMCU_APB2_Fz = 0x00072800;
- // <h> Debug MCU APB3 freeze register (DBGMCU_APB3FZR)
- // <i> Reserved bits must be kept at reset value
- // <o.30> DBG_RTC_STOP <i> RTC is frozen while CPU is in debug mode.
- // <o.21> DBG_LPTIM6_STOP <i> LPTIM6 is frozen while CPU is in debug mode
- // <o.20> DBG_LPTIM5_STOP <i> LPTIM5 is frozen while CPU is in debug mode
- // <o.19> DBG_LPTIM4_STOP <i> LPTIM4 is frozen while CPU is in debug mode
- // <o.18> DBG_LPTIM3_STOP <i> LPTIM3 is frozen while CPU is in debug mode
- // <o.17> DBG_LPTIM1_STOP <i> LPTIM1 is frozen while CPU is in debug mode
- // <o.11> DBG_I2C4_STOP <i> I2C3 is frozen while CPU is in debug mode
- // <o.10> DBG_I2C3_STOP <i> I2C3 is frozen while CPU is in debug mode
- // </h>
- DbgMCU_APB3_Fz = 0x003E0C00;
- // <h> Debug MCU AHB1 freeze register (DBGMCU_AHB1FZR)
- // <i> Reserved bits must be kept at reset value
- // <o.23> DBG_GPDMA2_7_STOP <i> GPDMA2 channel 7 is frozen while CPU is in debug mode
- // <o.22> DBG_GPDMA2_6_STOP <i> GPDMA2 channel 6 is frozen while CPU is in debug mode
- // <o.21> DBG_GPDMA2_5_STOP <i> GPDMA2 channel 5 is frozen while CPU is in debug mode
- // <o.20> DBG_GPDMA2_4_STOP <i> GPDMA2 channel 4 is frozen while CPU is in debug mode
- // <o.19> DBG_GPDMA2_3_STOP <i> GPDMA2 channel 3 is frozen while CPU is in debug mode
- // <o.18> DBG_GPDMA2_2_STOP <i> GPDMA2 channel 2 is frozen while CPU is in debug mode
- // <o.17> DBG_GPDMA2_1_STOP <i> GPDMA2 channel 1 is frozen while CPU is in debug mode
- // <o.16> DBG_GPDMA2_0_STOP <i> GPDMA2 channel 0 is frozen while CPU is in debug mode
- // <o.7> DBG_GPDMA1_7_STOP <i> GPDMA1 channel 7 is frozen while CPU is in debug mode
- // <o.6> DBG_GPDMA1_6_STOP <i> GPDMA1 channel 6 is frozen while CPU is in debug mode
- // <o.5> DBG_GPDMA1_5_STOP <i> GPDMA1 channel 5 is frozen while CPU is in debug mode
- // <o.4> DBG_GPDMA1_4_STOP <i> GPDMA1 channel 4 is frozen while CPU is in debug mode
- // <o.3> DBG_GPDMA1_3_STOP <i> GPDMA1 channel 3 is frozen while CPU is in debug mode
- // <o.2> DBG_GPDMA1_2_STOP <i> GPDMA1 channel 2 is frozen while CPU is in debug mode
- // <o.1> DBG_GPDMA1_1_STOP <i> GPDMA1 channel 1 is frozen while CPU is in debug mode
- // <o.0> DBG_GPDMA1_0_STOP <i> GPDMA1 channel 0 is frozen while CPU is in debug mode
- // </h>
- DbgMCU_AHB1_Fz = 0x00FF00FF;
- // <h> TPIU Pin Routing
- // <o0> TRACECLK
- // <i> ETM Trace Clock
- // <0x00040002=> Pin PE2
- // <o1> TRACED0
- // <i> ETM Trace Data 0
- // <0x0006000D=> Pin PG13
- // <0x00040003=> Pin PE3
- // <0x00020001=> Pin PC1
- // <o2> TRACED1
- // <i> ETM Trace Data 1
- // <0x0006000E=> Pin PG14
- // <0x00040004=> Pin PE4
- // <0x00020008=> Pin PC8
- // <o3> TRACED2
- // <i> ETM Trace Data 2
- // <0x00040005=> Pin PE5
- // <0x00030002=> Pin PD2
- // <o4> TRACED3
- // <i> ETM Trace Data 3
- // <0x0002000C=> Pin PC12
- // <0x00040006=> Pin PE6
- // </h>
- TraceClk_Pin = 0x00040002;
- TraceD0_Pin = 0x00040003;
- TraceD1_Pin = 0x00040004;
- TraceD2_Pin = 0x00040005;
- TraceD3_Pin = 0x00040006;
- // <<< end of configuration section >>>
|