RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Timer n counter value register (TCNTVAL)

This group contains register bit definitions. More...

Macros

#define GPTIMER_TCNTVAL_TCVAL_SHIFT   0
 
#define GPTIMER_TCNTVAL_TCVAL_MASK   0xffffffffU
 
#define GPTIMER_TCNTVAL_TCVAL_GET(_reg)
 
#define GPTIMER_TCNTVAL_TCVAL_SET(_reg, _val)
 
#define GPTIMER_TCNTVAL_TCVAL(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GPTIMER_TCNTVAL_TCVAL

#define GPTIMER_TCNTVAL_TCVAL (   _val)
Value:
( ( ( _val ) << GPTIMER_TCNTVAL_TCVAL_SHIFT ) & \
GPTIMER_TCNTVAL_TCVAL_MASK )

◆ GPTIMER_TCNTVAL_TCVAL_GET

#define GPTIMER_TCNTVAL_TCVAL_GET (   _reg)
Value:
( ( ( _reg ) & GPTIMER_TCNTVAL_TCVAL_MASK ) >> \
GPTIMER_TCNTVAL_TCVAL_SHIFT )

◆ GPTIMER_TCNTVAL_TCVAL_SET

#define GPTIMER_TCNTVAL_TCVAL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GPTIMER_TCNTVAL_TCVAL_MASK ) | \
( ( ( _val ) << GPTIMER_TCNTVAL_TCVAL_SHIFT ) & \
GPTIMER_TCNTVAL_TCVAL_MASK ) )