EasyManuals Logo

STMicroelectronics STM32 User Manual

STMicroelectronics STM32
118 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #101 background imageLoading...
Page #101 background image
AN4989 Rev 3 101/118
AN4989 Managing DBGMCU registers
117
Figure 76. Keil
®
Initialization script setting
Sample code for Init file setting DBGMCU registers on M0 based MCU (Clock enabling)
FUNC void DBGMCUSetup (void) {
// DBGMCU configuration
_WDWORD(0x40021034, 0x00400000); // Enable clock DBG
_WDWORD(0x40015804, 0x00000007); // DBG_CR
_WDWORD(0x40015808, 0x00000001); // DBG_APB1_FZ
}
DBGMCUSetup();
For further information regarding Keil
®
MDK-Arm µVision initialization script, refer to
http://www.keil.com.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32 and is the answer not in the manual?

STMicroelectronics STM32 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32
CategoryMicrocontrollers
LanguageEnglish

Related product manuals