STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
dbgmcu_reg.h
Go to the documentation of this file.
1
10#ifndef DBGMCU_REG_H
11#define DBGMCU_REG_H
12
13#include <stdint.h>
14
19
20#define DBGMCU_BASE (0xE0042000UL)
21
23typedef struct DbgmcuRegisters_t
24{
25 volatile const uint32_t IDCODE;
26 volatile uint32_t CR;
27 volatile uint32_t APB1_FZ;
28 volatile uint32_t APB2_FZ;
30
31#define DBGMCU ((DbgmcuRegisters_t *)DBGMCU_BASE)
32
35#define DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos (11U)
37#define DBGMCU_APB1_FZ_DBG_WWDG_STOP ((uint32_t)1U << DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos)
38#define DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos (12U)
40#define DBGMCU_APB1_FZ_DBG_IWDG_STOP ((uint32_t)1U << DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos)
42
44
45#endif /* DBGMCU_REG_H */
DBGMCU register block.
Definition dbgmcu_reg.h:24
volatile const uint32_t IDCODE
0x00: device and revision ID, <span class="regaccess">ro</span>
Definition dbgmcu_reg.h:25
volatile uint32_t APB2_FZ
0x0C: APB2 peripheral freeze while the core is halted
Definition dbgmcu_reg.h:28
volatile uint32_t CR
0x04: debug in low-power modes
Definition dbgmcu_reg.h:26
volatile uint32_t APB1_FZ
0x08: APB1 peripheral freeze while the core is halted
Definition dbgmcu_reg.h:27