RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Configuration register (CONFIG)

This group contains register bit definitions. More...

Macros

#define GPTIMER_CONFIG_EV   0x2000U
 
#define GPTIMER_CONFIG_ES   0x1000U
 
#define GPTIMER_CONFIG_EL   0x800U
 
#define GPTIMER_CONFIG_EE   0x400U
 
#define GPTIMER_CONFIG_DF   0x200U
 
#define GPTIMER_CONFIG_SI   0x100U
 
#define GPTIMER_CONFIG_IRQ_SHIFT   3
 
#define GPTIMER_CONFIG_IRQ_MASK   0xf8U
 
#define GPTIMER_CONFIG_IRQ_GET(_reg)
 
#define GPTIMER_CONFIG_IRQ_SET(_reg, _val)
 
#define GPTIMER_CONFIG_IRQ(_val)
 
#define GPTIMER_CONFIG_TIMERS_SHIFT   0
 
#define GPTIMER_CONFIG_TIMERS_MASK   0x7U
 
#define GPTIMER_CONFIG_TIMERS_GET(_reg)
 
#define GPTIMER_CONFIG_TIMERS_SET(_reg, _val)
 
#define GPTIMER_CONFIG_TIMERS(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GPTIMER_CONFIG_IRQ

#define GPTIMER_CONFIG_IRQ (   _val)
Value:
( ( ( _val ) << GPTIMER_CONFIG_IRQ_SHIFT ) & \
GPTIMER_CONFIG_IRQ_MASK )

◆ GPTIMER_CONFIG_IRQ_GET

#define GPTIMER_CONFIG_IRQ_GET (   _reg)
Value:
( ( ( _reg ) & GPTIMER_CONFIG_IRQ_MASK ) >> \
GPTIMER_CONFIG_IRQ_SHIFT )

◆ GPTIMER_CONFIG_IRQ_SET

#define GPTIMER_CONFIG_IRQ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GPTIMER_CONFIG_IRQ_MASK ) | \
( ( ( _val ) << GPTIMER_CONFIG_IRQ_SHIFT ) & \
GPTIMER_CONFIG_IRQ_MASK ) )

◆ GPTIMER_CONFIG_TIMERS

#define GPTIMER_CONFIG_TIMERS (   _val)
Value:
( ( ( _val ) << GPTIMER_CONFIG_TIMERS_SHIFT ) & \
GPTIMER_CONFIG_TIMERS_MASK )

◆ GPTIMER_CONFIG_TIMERS_GET

#define GPTIMER_CONFIG_TIMERS_GET (   _reg)
Value:
( ( ( _reg ) & GPTIMER_CONFIG_TIMERS_MASK ) >> \
GPTIMER_CONFIG_TIMERS_SHIFT )

◆ GPTIMER_CONFIG_TIMERS_SET

#define GPTIMER_CONFIG_TIMERS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GPTIMER_CONFIG_TIMERS_MASK ) | \
( ( ( _val ) << GPTIMER_CONFIG_TIMERS_SHIFT ) & \
GPTIMER_CONFIG_TIMERS_MASK ) )