RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
GR1553B RT Time tag control register (RTTTC)

This group contains register bit definitions. More...

Macros

#define GR1553B_RTTTC_TRES_SHIFT   16
 
#define GR1553B_RTTTC_TRES_MASK   0xffff0000U
 
#define GR1553B_RTTTC_TRES_GET(_reg)
 
#define GR1553B_RTTTC_TRES_SET(_reg, _val)
 
#define GR1553B_RTTTC_TRES(_val)
 
#define GR1553B_RTTTC_TVAL_SHIFT   0
 
#define GR1553B_RTTTC_TVAL_MASK   0xffffU
 
#define GR1553B_RTTTC_TVAL_GET(_reg)
 
#define GR1553B_RTTTC_TVAL_SET(_reg, _val)
 
#define GR1553B_RTTTC_TVAL(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_RTTTC_TRES

#define GR1553B_RTTTC_TRES (   _val)
Value:
( ( ( _val ) << GR1553B_RTTTC_TRES_SHIFT ) & \
GR1553B_RTTTC_TRES_MASK )

◆ GR1553B_RTTTC_TRES_GET

#define GR1553B_RTTTC_TRES_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_RTTTC_TRES_MASK ) >> \
GR1553B_RTTTC_TRES_SHIFT )

◆ GR1553B_RTTTC_TRES_SET

#define GR1553B_RTTTC_TRES_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_RTTTC_TRES_MASK ) | \
( ( ( _val ) << GR1553B_RTTTC_TRES_SHIFT ) & \
GR1553B_RTTTC_TRES_MASK ) )

◆ GR1553B_RTTTC_TVAL

#define GR1553B_RTTTC_TVAL (   _val)
Value:
( ( ( _val ) << GR1553B_RTTTC_TVAL_SHIFT ) & \
GR1553B_RTTTC_TVAL_MASK )

◆ GR1553B_RTTTC_TVAL_GET

#define GR1553B_RTTTC_TVAL_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_RTTTC_TVAL_MASK ) >> \
GR1553B_RTTTC_TVAL_SHIFT )

◆ GR1553B_RTTTC_TVAL_SET

#define GR1553B_RTTTC_TVAL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_RTTTC_TVAL_MASK ) | \
( ( ( _val ) << GR1553B_RTTTC_TVAL_SHIFT ) & \
GR1553B_RTTTC_TVAL_MASK ) )