RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Status register (STAT)

This group contains register bit definitions. More...

Macros

#define MEMSCRUB_STAT_RUNCOUNT_SHIFT   22
 
#define MEMSCRUB_STAT_RUNCOUNT_MASK   0xffc00000U
 
#define MEMSCRUB_STAT_RUNCOUNT_GET(_reg)
 
#define MEMSCRUB_STAT_RUNCOUNT_SET(_reg, _val)
 
#define MEMSCRUB_STAT_RUNCOUNT(_val)
 
#define MEMSCRUB_STAT_BLKCOUNT_SHIFT   14
 
#define MEMSCRUB_STAT_BLKCOUNT_MASK   0x3fc000U
 
#define MEMSCRUB_STAT_BLKCOUNT_GET(_reg)
 
#define MEMSCRUB_STAT_BLKCOUNT_SET(_reg, _val)
 
#define MEMSCRUB_STAT_BLKCOUNT(_val)
 
#define MEMSCRUB_STAT_DONE   0x2000U
 
#define MEMSCRUB_STAT_BURSTLEN_SHIFT   1
 
#define MEMSCRUB_STAT_BURSTLEN_MASK   0x1eU
 
#define MEMSCRUB_STAT_BURSTLEN_GET(_reg)
 
#define MEMSCRUB_STAT_BURSTLEN_SET(_reg, _val)
 
#define MEMSCRUB_STAT_BURSTLEN(_val)
 
#define MEMSCRUB_STAT_ACTIVE   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ MEMSCRUB_STAT_BLKCOUNT

#define MEMSCRUB_STAT_BLKCOUNT (   _val)
Value:
( ( ( _val ) << MEMSCRUB_STAT_BLKCOUNT_SHIFT ) & \
MEMSCRUB_STAT_BLKCOUNT_MASK )

◆ MEMSCRUB_STAT_BLKCOUNT_GET

#define MEMSCRUB_STAT_BLKCOUNT_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_STAT_BLKCOUNT_MASK ) >> \
MEMSCRUB_STAT_BLKCOUNT_SHIFT )

◆ MEMSCRUB_STAT_BLKCOUNT_SET

#define MEMSCRUB_STAT_BLKCOUNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_STAT_BLKCOUNT_MASK ) | \
( ( ( _val ) << MEMSCRUB_STAT_BLKCOUNT_SHIFT ) & \
MEMSCRUB_STAT_BLKCOUNT_MASK ) )

◆ MEMSCRUB_STAT_BURSTLEN

#define MEMSCRUB_STAT_BURSTLEN (   _val)
Value:
( ( ( _val ) << MEMSCRUB_STAT_BURSTLEN_SHIFT ) & \
MEMSCRUB_STAT_BURSTLEN_MASK )

◆ MEMSCRUB_STAT_BURSTLEN_GET

#define MEMSCRUB_STAT_BURSTLEN_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_STAT_BURSTLEN_MASK ) >> \
MEMSCRUB_STAT_BURSTLEN_SHIFT )

◆ MEMSCRUB_STAT_BURSTLEN_SET

#define MEMSCRUB_STAT_BURSTLEN_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_STAT_BURSTLEN_MASK ) | \
( ( ( _val ) << MEMSCRUB_STAT_BURSTLEN_SHIFT ) & \
MEMSCRUB_STAT_BURSTLEN_MASK ) )

◆ MEMSCRUB_STAT_RUNCOUNT

#define MEMSCRUB_STAT_RUNCOUNT (   _val)
Value:
( ( ( _val ) << MEMSCRUB_STAT_RUNCOUNT_SHIFT ) & \
MEMSCRUB_STAT_RUNCOUNT_MASK )

◆ MEMSCRUB_STAT_RUNCOUNT_GET

#define MEMSCRUB_STAT_RUNCOUNT_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_STAT_RUNCOUNT_MASK ) >> \
MEMSCRUB_STAT_RUNCOUNT_SHIFT )

◆ MEMSCRUB_STAT_RUNCOUNT_SET

#define MEMSCRUB_STAT_RUNCOUNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_STAT_RUNCOUNT_MASK ) | \
( ( ( _val ) << MEMSCRUB_STAT_RUNCOUNT_SHIFT ) & \
MEMSCRUB_STAT_RUNCOUNT_MASK ) )