HPM SDK
HPMicro Software Development Kit
hpm_mono_regs.h File Reference

Go to the source code of this file.

Data Structures

struct  MONO_Type
 

Macros

#define MONO_COUNTER_MASK   (0xFFFFFFFFUL)
 
#define MONO_COUNTER_SHIFT   (0U)
 
#define MONO_COUNTER_SET(x)   (((uint32_t)(x) << MONO_COUNTER_SHIFT) & MONO_COUNTER_MASK)
 
#define MONO_COUNTER_GET(x)   (((uint32_t)(x) & MONO_COUNTER_MASK) >> MONO_COUNTER_SHIFT)
 

Macro Definition Documentation

◆ MONO_COUNTER_GET

#define MONO_COUNTER_GET (   x)    (((uint32_t)(x) & MONO_COUNTER_MASK) >> MONO_COUNTER_SHIFT)

◆ MONO_COUNTER_MASK

#define MONO_COUNTER_MASK   (0xFFFFFFFFUL)

◆ MONO_COUNTER_SET

#define MONO_COUNTER_SET (   x)    (((uint32_t)(x) << MONO_COUNTER_SHIFT) & MONO_COUNTER_MASK)

◆ MONO_COUNTER_SHIFT

#define MONO_COUNTER_SHIFT   (0U)