RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Interrupt timestamp counter n register (ITCNT)

This group contains register bit definitions. More...

Macros

#define IRQAMP_ITCNT_TCNT_SHIFT   0
 
#define IRQAMP_ITCNT_TCNT_MASK   0xffffffffU
 
#define IRQAMP_ITCNT_TCNT_GET(_reg)
 
#define IRQAMP_ITCNT_TCNT_SET(_reg, _val)
 
#define IRQAMP_ITCNT_TCNT(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ IRQAMP_ITCNT_TCNT

#define IRQAMP_ITCNT_TCNT (   _val)
Value:
( ( ( _val ) << IRQAMP_ITCNT_TCNT_SHIFT ) & \
IRQAMP_ITCNT_TCNT_MASK )

◆ IRQAMP_ITCNT_TCNT_GET

#define IRQAMP_ITCNT_TCNT_GET (   _reg)
Value:
( ( ( _reg ) & IRQAMP_ITCNT_TCNT_MASK ) >> \
IRQAMP_ITCNT_TCNT_SHIFT )

◆ IRQAMP_ITCNT_TCNT_SET

#define IRQAMP_ITCNT_TCNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~IRQAMP_ITCNT_TCNT_MASK ) | \
( ( ( _val ) << IRQAMP_ITCNT_TCNT_SHIFT ) & \
IRQAMP_ITCNT_TCNT_MASK ) )