AN4989 Rev 3 95/118
AN4989 Managing DBGMCU registers
117
Appendix A Managing DBGMCU registers
This appendix provides a tutorial for the different ways to Read/Write the DBGMCU
registers with various tools and IDEs.
A.1 By software
HAL and LL provide functions to set/reset DBGMCU registers.
Refer to STM32Cube\Repository\STM32Cube_FW_[MCU]
_[Version]\Drivers\STM32[MCU]xx_HAL_Driver\ STM32[MCU]xx_User_Manual.chm
Figure 70 and Figure 71 show the positions of the DBGMCU registers iwithin the LL and
HAL libraries.
Figure 70. DBMCU Register LL Library Functions