RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
PCI trace counter and mode register (TMODE)

This group contains register bit definitions. More...

Macros

#define GRPCI2_TMODE_TRACING_MODE_SHIFT   24
 
#define GRPCI2_TMODE_TRACING_MODE_MASK   0xf000000U
 
#define GRPCI2_TMODE_TRACING_MODE_GET(_reg)
 
#define GRPCI2_TMODE_TRACING_MODE_SET(_reg, _val)
 
#define GRPCI2_TMODE_TRACING_MODE(_val)
 
#define GRPCI2_TMODE_TRIG_COUNT_SHIFT   16
 
#define GRPCI2_TMODE_TRIG_COUNT_MASK   0xff0000U
 
#define GRPCI2_TMODE_TRIG_COUNT_GET(_reg)
 
#define GRPCI2_TMODE_TRIG_COUNT_SET(_reg, _val)
 
#define GRPCI2_TMODE_TRIG_COUNT(_val)
 
#define GRPCI2_TMODE_DELAYED_STOP_SHIFT   0
 
#define GRPCI2_TMODE_DELAYED_STOP_MASK   0xffffU
 
#define GRPCI2_TMODE_DELAYED_STOP_GET(_reg)
 
#define GRPCI2_TMODE_DELAYED_STOP_SET(_reg, _val)
 
#define GRPCI2_TMODE_DELAYED_STOP(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRPCI2_TMODE_DELAYED_STOP

#define GRPCI2_TMODE_DELAYED_STOP (   _val)
Value:
( ( ( _val ) << GRPCI2_TMODE_DELAYED_STOP_SHIFT ) & \
GRPCI2_TMODE_DELAYED_STOP_MASK )

◆ GRPCI2_TMODE_DELAYED_STOP_GET

#define GRPCI2_TMODE_DELAYED_STOP_GET (   _reg)
Value:
( ( ( _reg ) & GRPCI2_TMODE_DELAYED_STOP_MASK ) >> \
GRPCI2_TMODE_DELAYED_STOP_SHIFT )

◆ GRPCI2_TMODE_DELAYED_STOP_SET

#define GRPCI2_TMODE_DELAYED_STOP_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRPCI2_TMODE_DELAYED_STOP_MASK ) | \
( ( ( _val ) << GRPCI2_TMODE_DELAYED_STOP_SHIFT ) & \
GRPCI2_TMODE_DELAYED_STOP_MASK ) )

◆ GRPCI2_TMODE_TRACING_MODE

#define GRPCI2_TMODE_TRACING_MODE (   _val)
Value:
( ( ( _val ) << GRPCI2_TMODE_TRACING_MODE_SHIFT ) & \
GRPCI2_TMODE_TRACING_MODE_MASK )

◆ GRPCI2_TMODE_TRACING_MODE_GET

#define GRPCI2_TMODE_TRACING_MODE_GET (   _reg)
Value:
( ( ( _reg ) & GRPCI2_TMODE_TRACING_MODE_MASK ) >> \
GRPCI2_TMODE_TRACING_MODE_SHIFT )

◆ GRPCI2_TMODE_TRACING_MODE_SET

#define GRPCI2_TMODE_TRACING_MODE_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRPCI2_TMODE_TRACING_MODE_MASK ) | \
( ( ( _val ) << GRPCI2_TMODE_TRACING_MODE_SHIFT ) & \
GRPCI2_TMODE_TRACING_MODE_MASK ) )

◆ GRPCI2_TMODE_TRIG_COUNT

#define GRPCI2_TMODE_TRIG_COUNT (   _val)
Value:
( ( ( _val ) << GRPCI2_TMODE_TRIG_COUNT_SHIFT ) & \
GRPCI2_TMODE_TRIG_COUNT_MASK )

◆ GRPCI2_TMODE_TRIG_COUNT_GET

#define GRPCI2_TMODE_TRIG_COUNT_GET (   _reg)
Value:
( ( ( _reg ) & GRPCI2_TMODE_TRIG_COUNT_MASK ) >> \
GRPCI2_TMODE_TRIG_COUNT_SHIFT )

◆ GRPCI2_TMODE_TRIG_COUNT_SET

#define GRPCI2_TMODE_TRIG_COUNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRPCI2_TMODE_TRIG_COUNT_MASK ) | \
( ( ( _val ) << GRPCI2_TMODE_TRIG_COUNT_SHIFT ) & \
GRPCI2_TMODE_TRIG_COUNT_MASK ) )