RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Scaler reload value register (SRELOAD)

This group contains register bit definitions. More...

Macros

#define GPTIMER_SRELOAD_SRELOAD_SHIFT   0
 
#define GPTIMER_SRELOAD_SRELOAD_MASK   0xffffU
 
#define GPTIMER_SRELOAD_SRELOAD_GET(_reg)
 
#define GPTIMER_SRELOAD_SRELOAD_SET(_reg, _val)
 
#define GPTIMER_SRELOAD_SRELOAD(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GPTIMER_SRELOAD_SRELOAD

#define GPTIMER_SRELOAD_SRELOAD (   _val)
Value:
( ( ( _val ) << GPTIMER_SRELOAD_SRELOAD_SHIFT ) & \
GPTIMER_SRELOAD_SRELOAD_MASK )

◆ GPTIMER_SRELOAD_SRELOAD_GET

#define GPTIMER_SRELOAD_SRELOAD_GET (   _reg)
Value:
( ( ( _reg ) & GPTIMER_SRELOAD_SRELOAD_MASK ) >> \
GPTIMER_SRELOAD_SRELOAD_SHIFT )

◆ GPTIMER_SRELOAD_SRELOAD_SET

#define GPTIMER_SRELOAD_SRELOAD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GPTIMER_SRELOAD_SRELOAD_MASK ) | \
( ( ( _val ) << GPTIMER_SRELOAD_SRELOAD_SHIFT ) & \
GPTIMER_SRELOAD_SRELOAD_MASK ) )