RTEMS 6.1-rc1
Macros
Scaler value register (SCALER)

This group contains register bit definitions. More...

Macros

#define GPTIMER_SCALER_SCALER_SHIFT   0
 
#define GPTIMER_SCALER_SCALER_MASK   0xffffU
 
#define GPTIMER_SCALER_SCALER_GET(_reg)
 
#define GPTIMER_SCALER_SCALER_SET(_reg, _val)
 
#define GPTIMER_SCALER_SCALER(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GPTIMER_SCALER_SCALER

#define GPTIMER_SCALER_SCALER (   _val)
Value:
( ( ( _val ) << GPTIMER_SCALER_SCALER_SHIFT ) & \
GPTIMER_SCALER_SCALER_MASK )

◆ GPTIMER_SCALER_SCALER_GET

#define GPTIMER_SCALER_SCALER_GET (   _reg)
Value:
( ( ( _reg ) & GPTIMER_SCALER_SCALER_MASK ) >> \
GPTIMER_SCALER_SCALER_SHIFT )

◆ GPTIMER_SCALER_SCALER_SET

#define GPTIMER_SCALER_SCALER_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GPTIMER_SCALER_SCALER_MASK ) | \
( ( ( _val ) << GPTIMER_SCALER_SCALER_SHIFT ) & \
GPTIMER_SCALER_SCALER_MASK ) )