RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Position register (POS)

This group contains register bit definitions. More...

Macros

#define MEMSCRUB_POS_POSITION_SHIFT   0
 
#define MEMSCRUB_POS_POSITION_MASK   0xffffffffU
 
#define MEMSCRUB_POS_POSITION_GET(_reg)
 
#define MEMSCRUB_POS_POSITION_SET(_reg, _val)
 
#define MEMSCRUB_POS_POSITION(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ MEMSCRUB_POS_POSITION

#define MEMSCRUB_POS_POSITION (   _val)
Value:
( ( ( _val ) << MEMSCRUB_POS_POSITION_SHIFT ) & \
MEMSCRUB_POS_POSITION_MASK )

◆ MEMSCRUB_POS_POSITION_GET

#define MEMSCRUB_POS_POSITION_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_POS_POSITION_MASK ) >> \
MEMSCRUB_POS_POSITION_SHIFT )

◆ MEMSCRUB_POS_POSITION_SET

#define MEMSCRUB_POS_POSITION_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_POS_POSITION_MASK ) | \
( ( ( _val ) << MEMSCRUB_POS_POSITION_SHIFT ) & \
MEMSCRUB_POS_POSITION_MASK ) )