STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
dbgmcu_reg.h File Reference

DBGMCU registers: the MCU debug component (RM0390, debug support chapter, DBGMCU). More...

#include <stdint.h>
Include dependency graph for dbgmcu_reg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DbgmcuRegisters_t
 DBGMCU register block. More...

Macros

#define DBGMCU_BASE   (0xE0042000UL)
 DBGMCU base address (PPB).
#define DBGMCU   ((DbgmcuRegisters_t *)DBGMCU_BASE)
 The DBGMCU instance.
APB1_FZ - APB1 freeze (0x08)
#define DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos   (11U)
 Bit 11.
#define DBGMCU_APB1_FZ_DBG_WWDG_STOP   ((uint32_t)1U << DBGMCU_APB1_FZ_DBG_WWDG_STOP_Pos)
  rw Stop the WWDG counter while the core is halted.
#define DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos   (12U)
 Bit 12.
#define DBGMCU_APB1_FZ_DBG_IWDG_STOP   ((uint32_t)1U << DBGMCU_APB1_FZ_DBG_IWDG_STOP_Pos)
  rw Stop the IWDG counter while the core is halted.

Typedefs

typedef struct DbgmcuRegisters_t DbgmcuRegisters_t
 DBGMCU register block.

Detailed Description

DBGMCU registers: the MCU debug component (RM0390, debug support chapter, DBGMCU).

Only what the drivers use is modelled: the block layout and the two watchdog freeze bits of APB1_FZ. These registers are reset by power-on only, not by a system reset, so a freeze bit survives a watchdog reset.

Definition in file dbgmcu_reg.h.