libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
dbgmcu.h File Reference
Include dependency graph for dbgmcu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DBGMCU_IDCODE   MMIO32(DBGMCU_BASE + 0x00)
 
#define DBGMCU_CR   MMIO32(DBGMCU_BASE + 0x04)
 
#define DBGMCU_IDCODE_DEV_ID_MASK   0x00000fff
 
#define DBGMCU_IDCODE_REV_ID_MASK   0xffff0000
 
#define DBGMCU_CR_SLEEP   0x00000001
 
#define DBGMCU_CR_STOP   0x00000002
 
#define DBGMCU_CR_STANDBY   0x00000004
 
#define DBGMCU_CR_TRACE_IOEN   0x00000020
 
#define DBGMCU_CR_TRACE_MODE_MASK   0x000000C0
 
#define DBGMCU_CR_TRACE_MODE_ASYNC   0x00000000
 
#define DBGMCU_CR_TRACE_MODE_SYNC_1   0x00000040
 
#define DBGMCU_CR_TRACE_MODE_SYNC_2   0x00000080
 
#define DBGMCU_CR_TRACE_MODE_SYNC_4   0x000000C0
 
#define DBGMCU_CR_IWDG_STOP   0x00000100
 
#define DBGMCU_CR_WWDG_STOP   0x00000200
 
#define DBGMCU_CR_TIM1_STOP   0x00000400
 
#define DBGMCU_CR_TIM2_STOP   0x00000800
 
#define DBGMCU_CR_TIM3_STOP   0x00001000
 
#define DBGMCU_CR_TIM4_STOP   0x00002000
 
#define DBGMCU_CR_CAN1_STOP   0x00004000
 
#define DBGMCU_CR_I2C1_SMBUS_TIMEOUT   0x00008000
 
#define DBGMCU_CR_I2C2_SMBUS_TIMEOUT   0x00010000
 
#define DBGMCU_CR_TIM8_STOP   0x00020000
 
#define DBGMCU_CR_TIM5_STOP   0x00040000
 
#define DBGMCU_CR_TIM6_STOP   0x00080000
 
#define DBGMCU_CR_TIM7_STOP   0x00100000
 
#define DBGMCU_CR_CAN2_STOP   0x00200000
 

Macro Definition Documentation

◆ DBGMCU_CR

#define DBGMCU_CR   MMIO32(DBGMCU_BASE + 0x04)

Definition at line 33 of file dbgmcu.h.

◆ DBGMCU_CR_CAN1_STOP

#define DBGMCU_CR_CAN1_STOP   0x00004000

Definition at line 63 of file dbgmcu.h.

◆ DBGMCU_CR_CAN2_STOP

#define DBGMCU_CR_CAN2_STOP   0x00200000

Definition at line 70 of file dbgmcu.h.

◆ DBGMCU_CR_I2C1_SMBUS_TIMEOUT

#define DBGMCU_CR_I2C1_SMBUS_TIMEOUT   0x00008000

Definition at line 64 of file dbgmcu.h.

◆ DBGMCU_CR_I2C2_SMBUS_TIMEOUT

#define DBGMCU_CR_I2C2_SMBUS_TIMEOUT   0x00010000

Definition at line 65 of file dbgmcu.h.

◆ DBGMCU_CR_IWDG_STOP

#define DBGMCU_CR_IWDG_STOP   0x00000100

Definition at line 57 of file dbgmcu.h.

◆ DBGMCU_CR_SLEEP

#define DBGMCU_CR_SLEEP   0x00000001

Definition at line 48 of file dbgmcu.h.

◆ DBGMCU_CR_STANDBY

#define DBGMCU_CR_STANDBY   0x00000004

Definition at line 50 of file dbgmcu.h.

◆ DBGMCU_CR_STOP

#define DBGMCU_CR_STOP   0x00000002

Definition at line 49 of file dbgmcu.h.

◆ DBGMCU_CR_TIM1_STOP

#define DBGMCU_CR_TIM1_STOP   0x00000400

Definition at line 59 of file dbgmcu.h.

◆ DBGMCU_CR_TIM2_STOP

#define DBGMCU_CR_TIM2_STOP   0x00000800

Definition at line 60 of file dbgmcu.h.

◆ DBGMCU_CR_TIM3_STOP

#define DBGMCU_CR_TIM3_STOP   0x00001000

Definition at line 61 of file dbgmcu.h.

◆ DBGMCU_CR_TIM4_STOP

#define DBGMCU_CR_TIM4_STOP   0x00002000

Definition at line 62 of file dbgmcu.h.

◆ DBGMCU_CR_TIM5_STOP

#define DBGMCU_CR_TIM5_STOP   0x00040000

Definition at line 67 of file dbgmcu.h.

◆ DBGMCU_CR_TIM6_STOP

#define DBGMCU_CR_TIM6_STOP   0x00080000

Definition at line 68 of file dbgmcu.h.

◆ DBGMCU_CR_TIM7_STOP

#define DBGMCU_CR_TIM7_STOP   0x00100000

Definition at line 69 of file dbgmcu.h.

◆ DBGMCU_CR_TIM8_STOP

#define DBGMCU_CR_TIM8_STOP   0x00020000

Definition at line 66 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_IOEN

#define DBGMCU_CR_TRACE_IOEN   0x00000020

Definition at line 51 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_MODE_ASYNC

#define DBGMCU_CR_TRACE_MODE_ASYNC   0x00000000

Definition at line 53 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_MODE_MASK

#define DBGMCU_CR_TRACE_MODE_MASK   0x000000C0

Definition at line 52 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_MODE_SYNC_1

#define DBGMCU_CR_TRACE_MODE_SYNC_1   0x00000040

Definition at line 54 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_MODE_SYNC_2

#define DBGMCU_CR_TRACE_MODE_SYNC_2   0x00000080

Definition at line 55 of file dbgmcu.h.

◆ DBGMCU_CR_TRACE_MODE_SYNC_4

#define DBGMCU_CR_TRACE_MODE_SYNC_4   0x000000C0

Definition at line 56 of file dbgmcu.h.

◆ DBGMCU_CR_WWDG_STOP

#define DBGMCU_CR_WWDG_STOP   0x00000200

Definition at line 58 of file dbgmcu.h.

◆ DBGMCU_IDCODE

#define DBGMCU_IDCODE   MMIO32(DBGMCU_BASE + 0x00)

Definition at line 29 of file dbgmcu.h.

◆ DBGMCU_IDCODE_DEV_ID_MASK

#define DBGMCU_IDCODE_DEV_ID_MASK   0x00000fff

Definition at line 37 of file dbgmcu.h.

◆ DBGMCU_IDCODE_REV_ID_MASK

#define DBGMCU_IDCODE_REV_ID_MASK   0xffff0000

Definition at line 38 of file dbgmcu.h.