14 __RW uint32_t CONTROL;
17 __R uint8_t RESERVED0[32];
18 __RW uint32_t IRQ_FLAG;
19 __RW uint32_t IRQ_ENABLE;
31 #define MON_MONITOR_CONTROL_ACTIVE_MASK (0x10U)
32 #define MON_MONITOR_CONTROL_ACTIVE_SHIFT (4U)
33 #define MON_MONITOR_CONTROL_ACTIVE_SET(x) (((uint32_t)(x) << MON_MONITOR_CONTROL_ACTIVE_SHIFT) & MON_MONITOR_CONTROL_ACTIVE_MASK)
34 #define MON_MONITOR_CONTROL_ACTIVE_GET(x) (((uint32_t)(x) & MON_MONITOR_CONTROL_ACTIVE_MASK) >> MON_MONITOR_CONTROL_ACTIVE_SHIFT)
43 #define MON_MONITOR_CONTROL_ENABLE_MASK (0x1U)
44 #define MON_MONITOR_CONTROL_ENABLE_SHIFT (0U)
45 #define MON_MONITOR_CONTROL_ENABLE_SET(x) (((uint32_t)(x) << MON_MONITOR_CONTROL_ENABLE_SHIFT) & MON_MONITOR_CONTROL_ENABLE_MASK)
46 #define MON_MONITOR_CONTROL_ENABLE_GET(x) (((uint32_t)(x) & MON_MONITOR_CONTROL_ENABLE_MASK) >> MON_MONITOR_CONTROL_ENABLE_SHIFT)
56 #define MON_MONITOR_STATUS_FLAG_MASK (0x1U)
57 #define MON_MONITOR_STATUS_FLAG_SHIFT (0U)
58 #define MON_MONITOR_STATUS_FLAG_SET(x) (((uint32_t)(x) << MON_MONITOR_STATUS_FLAG_SHIFT) & MON_MONITOR_STATUS_FLAG_MASK)
59 #define MON_MONITOR_STATUS_FLAG_GET(x) (((uint32_t)(x) & MON_MONITOR_STATUS_FLAG_MASK) >> MON_MONITOR_STATUS_FLAG_SHIFT)
69 #define MON_IRQ_FLAG_FLAG_MASK (0xFU)
70 #define MON_IRQ_FLAG_FLAG_SHIFT (0U)
71 #define MON_IRQ_FLAG_FLAG_SET(x) (((uint32_t)(x) << MON_IRQ_FLAG_FLAG_SHIFT) & MON_IRQ_FLAG_FLAG_MASK)
72 #define MON_IRQ_FLAG_FLAG_GET(x) (((uint32_t)(x) & MON_IRQ_FLAG_FLAG_MASK) >> MON_IRQ_FLAG_FLAG_SHIFT)
82 #define MON_IRQ_ENABLE_ENABLE_MASK (0xFU)
83 #define MON_IRQ_ENABLE_ENABLE_SHIFT (0U)
84 #define MON_IRQ_ENABLE_ENABLE_SET(x) (((uint32_t)(x) << MON_IRQ_ENABLE_ENABLE_SHIFT) & MON_IRQ_ENABLE_ENABLE_MASK)
85 #define MON_IRQ_ENABLE_ENABLE_GET(x) (((uint32_t)(x) & MON_IRQ_ENABLE_ENABLE_MASK) >> MON_IRQ_ENABLE_ENABLE_SHIFT)
90 #define MON_MONITOR_GLITCH0 (0UL)
91 #define MON_MONITOR_GLITCH1 (1UL)
92 #define MON_MONITOR_CLOCK0 (2UL)
93 #define MON_MONITOR_CLOCK1 (3UL)
Definition: hpm_mon_regs.h:12