HAL DBGMCU How to Use

group DBGMCU_How_To_Use

How to use the DBGMCU HAL module driver

The DBGMCU HAL driver can be used as follows:

Use these three API sets to:

  1. Identify the device: Use this feature to get information about the device.

  2. Debug during low power mode: Use the following APIs to debug peripherals during low power modes.

  3. Freeze and unfreeze clock peripherals: The DBGMCU peripheral allows certain peripherals to be suspended in debug mode when the CPU is halted.

    • Freeze and unfreeze PPPi peripherals:

      • Use HAL_DBGMCU_PPPi_Freeze() to freeze PPPi peripherals and HAL_DBGMCU_PPPi_UnFreeze() to unfreeze them.