HPM SDK
HPMicro Software Development Kit
hpm_pmon_regs.h File Reference

Go to the source code of this file.

Data Structures

struct  PMON_Type
 

Macros

#define PMON_MONITOR_CONTROL_ACTIVE_MASK   (0x10U)
 
#define PMON_MONITOR_CONTROL_ACTIVE_SHIFT   (4U)
 
#define PMON_MONITOR_CONTROL_ACTIVE_SET(x)   (((uint32_t)(x) << PMON_MONITOR_CONTROL_ACTIVE_SHIFT) & PMON_MONITOR_CONTROL_ACTIVE_MASK)
 
#define PMON_MONITOR_CONTROL_ACTIVE_GET(x)   (((uint32_t)(x) & PMON_MONITOR_CONTROL_ACTIVE_MASK) >> PMON_MONITOR_CONTROL_ACTIVE_SHIFT)
 
#define PMON_MONITOR_CONTROL_ENABLE_MASK   (0x1U)
 
#define PMON_MONITOR_CONTROL_ENABLE_SHIFT   (0U)
 
#define PMON_MONITOR_CONTROL_ENABLE_SET(x)   (((uint32_t)(x) << PMON_MONITOR_CONTROL_ENABLE_SHIFT) & PMON_MONITOR_CONTROL_ENABLE_MASK)
 
#define PMON_MONITOR_CONTROL_ENABLE_GET(x)   (((uint32_t)(x) & PMON_MONITOR_CONTROL_ENABLE_MASK) >> PMON_MONITOR_CONTROL_ENABLE_SHIFT)
 
#define PMON_MONITOR_STATUS_FLAG_MASK   (0x1U)
 
#define PMON_MONITOR_STATUS_FLAG_SHIFT   (0U)
 
#define PMON_MONITOR_STATUS_FLAG_SET(x)   (((uint32_t)(x) << PMON_MONITOR_STATUS_FLAG_SHIFT) & PMON_MONITOR_STATUS_FLAG_MASK)
 
#define PMON_MONITOR_STATUS_FLAG_GET(x)   (((uint32_t)(x) & PMON_MONITOR_STATUS_FLAG_MASK) >> PMON_MONITOR_STATUS_FLAG_SHIFT)
 
#define PMON_IRQ_FLAG_FLAG_MASK   (0xFU)
 
#define PMON_IRQ_FLAG_FLAG_SHIFT   (0U)
 
#define PMON_IRQ_FLAG_FLAG_SET(x)   (((uint32_t)(x) << PMON_IRQ_FLAG_FLAG_SHIFT) & PMON_IRQ_FLAG_FLAG_MASK)
 
#define PMON_IRQ_FLAG_FLAG_GET(x)   (((uint32_t)(x) & PMON_IRQ_FLAG_FLAG_MASK) >> PMON_IRQ_FLAG_FLAG_SHIFT)
 
#define PMON_IRQ_ENABLE_ENABLE_MASK   (0xFU)
 
#define PMON_IRQ_ENABLE_ENABLE_SHIFT   (0U)
 
#define PMON_IRQ_ENABLE_ENABLE_SET(x)   (((uint32_t)(x) << PMON_IRQ_ENABLE_ENABLE_SHIFT) & PMON_IRQ_ENABLE_ENABLE_MASK)
 
#define PMON_IRQ_ENABLE_ENABLE_GET(x)   (((uint32_t)(x) & PMON_IRQ_ENABLE_ENABLE_MASK) >> PMON_IRQ_ENABLE_ENABLE_SHIFT)
 
#define PMON_MONITOR_GLITCH0   (0UL)
 
#define PMON_MONITOR_GLITCH1   (1UL)
 
#define PMON_MONITOR_CLOCK0   (2UL)
 
#define PMON_MONITOR_CLOCK1   (3UL)
 

Macro Definition Documentation

◆ PMON_IRQ_ENABLE_ENABLE_GET

#define PMON_IRQ_ENABLE_ENABLE_GET (   x)    (((uint32_t)(x) & PMON_IRQ_ENABLE_ENABLE_MASK) >> PMON_IRQ_ENABLE_ENABLE_SHIFT)

◆ PMON_IRQ_ENABLE_ENABLE_MASK

#define PMON_IRQ_ENABLE_ENABLE_MASK   (0xFU)

◆ PMON_IRQ_ENABLE_ENABLE_SET

#define PMON_IRQ_ENABLE_ENABLE_SET (   x)    (((uint32_t)(x) << PMON_IRQ_ENABLE_ENABLE_SHIFT) & PMON_IRQ_ENABLE_ENABLE_MASK)

◆ PMON_IRQ_ENABLE_ENABLE_SHIFT

#define PMON_IRQ_ENABLE_ENABLE_SHIFT   (0U)

◆ PMON_IRQ_FLAG_FLAG_GET

#define PMON_IRQ_FLAG_FLAG_GET (   x)    (((uint32_t)(x) & PMON_IRQ_FLAG_FLAG_MASK) >> PMON_IRQ_FLAG_FLAG_SHIFT)

◆ PMON_IRQ_FLAG_FLAG_MASK

#define PMON_IRQ_FLAG_FLAG_MASK   (0xFU)

◆ PMON_IRQ_FLAG_FLAG_SET

#define PMON_IRQ_FLAG_FLAG_SET (   x)    (((uint32_t)(x) << PMON_IRQ_FLAG_FLAG_SHIFT) & PMON_IRQ_FLAG_FLAG_MASK)

◆ PMON_IRQ_FLAG_FLAG_SHIFT

#define PMON_IRQ_FLAG_FLAG_SHIFT   (0U)

◆ PMON_MONITOR_CLOCK0

#define PMON_MONITOR_CLOCK0   (2UL)

◆ PMON_MONITOR_CLOCK1

#define PMON_MONITOR_CLOCK1   (3UL)

◆ PMON_MONITOR_CONTROL_ACTIVE_GET

#define PMON_MONITOR_CONTROL_ACTIVE_GET (   x)    (((uint32_t)(x) & PMON_MONITOR_CONTROL_ACTIVE_MASK) >> PMON_MONITOR_CONTROL_ACTIVE_SHIFT)

◆ PMON_MONITOR_CONTROL_ACTIVE_MASK

#define PMON_MONITOR_CONTROL_ACTIVE_MASK   (0x10U)

◆ PMON_MONITOR_CONTROL_ACTIVE_SET

#define PMON_MONITOR_CONTROL_ACTIVE_SET (   x)    (((uint32_t)(x) << PMON_MONITOR_CONTROL_ACTIVE_SHIFT) & PMON_MONITOR_CONTROL_ACTIVE_MASK)

◆ PMON_MONITOR_CONTROL_ACTIVE_SHIFT

#define PMON_MONITOR_CONTROL_ACTIVE_SHIFT   (4U)

◆ PMON_MONITOR_CONTROL_ENABLE_GET

#define PMON_MONITOR_CONTROL_ENABLE_GET (   x)    (((uint32_t)(x) & PMON_MONITOR_CONTROL_ENABLE_MASK) >> PMON_MONITOR_CONTROL_ENABLE_SHIFT)

◆ PMON_MONITOR_CONTROL_ENABLE_MASK

#define PMON_MONITOR_CONTROL_ENABLE_MASK   (0x1U)

◆ PMON_MONITOR_CONTROL_ENABLE_SET

#define PMON_MONITOR_CONTROL_ENABLE_SET (   x)    (((uint32_t)(x) << PMON_MONITOR_CONTROL_ENABLE_SHIFT) & PMON_MONITOR_CONTROL_ENABLE_MASK)

◆ PMON_MONITOR_CONTROL_ENABLE_SHIFT

#define PMON_MONITOR_CONTROL_ENABLE_SHIFT   (0U)

◆ PMON_MONITOR_GLITCH0

#define PMON_MONITOR_GLITCH0   (0UL)

◆ PMON_MONITOR_GLITCH1

#define PMON_MONITOR_GLITCH1   (1UL)

◆ PMON_MONITOR_STATUS_FLAG_GET

#define PMON_MONITOR_STATUS_FLAG_GET (   x)    (((uint32_t)(x) & PMON_MONITOR_STATUS_FLAG_MASK) >> PMON_MONITOR_STATUS_FLAG_SHIFT)

◆ PMON_MONITOR_STATUS_FLAG_MASK

#define PMON_MONITOR_STATUS_FLAG_MASK   (0x1U)

◆ PMON_MONITOR_STATUS_FLAG_SET

#define PMON_MONITOR_STATUS_FLAG_SET (   x)    (((uint32_t)(x) << PMON_MONITOR_STATUS_FLAG_SHIFT) & PMON_MONITOR_STATUS_FLAG_MASK)

◆ PMON_MONITOR_STATUS_FLAG_SHIFT

#define PMON_MONITOR_STATUS_FLAG_SHIFT   (0U)