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

This group contains register bit definitions. More...

Macros

#define GR1553B_BMTTC_TRES_SHIFT   24
 
#define GR1553B_BMTTC_TRES_MASK   0xff000000U
 
#define GR1553B_BMTTC_TRES_GET(_reg)
 
#define GR1553B_BMTTC_TRES_SET(_reg, _val)
 
#define GR1553B_BMTTC_TRES(_val)
 
#define GR1553B_BMTTC_TVAL_SHIFT   0
 
#define GR1553B_BMTTC_TVAL_MASK   0xffffffU
 
#define GR1553B_BMTTC_TVAL_GET(_reg)
 
#define GR1553B_BMTTC_TVAL_SET(_reg, _val)
 
#define GR1553B_BMTTC_TVAL(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GR1553B_BMTTC_TRES

#define GR1553B_BMTTC_TRES (   _val)
Value:
( ( ( _val ) << GR1553B_BMTTC_TRES_SHIFT ) & \
GR1553B_BMTTC_TRES_MASK )

◆ GR1553B_BMTTC_TRES_GET

#define GR1553B_BMTTC_TRES_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_BMTTC_TRES_MASK ) >> \
GR1553B_BMTTC_TRES_SHIFT )

◆ GR1553B_BMTTC_TRES_SET

#define GR1553B_BMTTC_TRES_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_BMTTC_TRES_MASK ) | \
( ( ( _val ) << GR1553B_BMTTC_TRES_SHIFT ) & \
GR1553B_BMTTC_TRES_MASK ) )

◆ GR1553B_BMTTC_TVAL

#define GR1553B_BMTTC_TVAL (   _val)
Value:
( ( ( _val ) << GR1553B_BMTTC_TVAL_SHIFT ) & \
GR1553B_BMTTC_TVAL_MASK )

◆ GR1553B_BMTTC_TVAL_GET

#define GR1553B_BMTTC_TVAL_GET (   _reg)
Value:
( ( ( _reg ) & GR1553B_BMTTC_TVAL_MASK ) >> \
GR1553B_BMTTC_TVAL_SHIFT )

◆ GR1553B_BMTTC_TVAL_SET

#define GR1553B_BMTTC_TVAL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GR1553B_BMTTC_TVAL_MASK ) | \
( ( ( _val ) << GR1553B_BMTTC_TVAL_SHIFT ) & \
GR1553B_BMTTC_TVAL_MASK ) )