RTEMS 6.1-rc1
Macros
Error threshold register (ETHRES)

This group contains register bit definitions. More...

Macros

#define MEMSCRUB_ETHRES_RECT_SHIFT   22
 
#define MEMSCRUB_ETHRES_RECT_MASK   0xffc00000U
 
#define MEMSCRUB_ETHRES_RECT_GET(_reg)
 
#define MEMSCRUB_ETHRES_RECT_SET(_reg, _val)
 
#define MEMSCRUB_ETHRES_RECT(_val)
 
#define MEMSCRUB_ETHRES_BECT_SHIFT   14
 
#define MEMSCRUB_ETHRES_BECT_MASK   0x3fc000U
 
#define MEMSCRUB_ETHRES_BECT_GET(_reg)
 
#define MEMSCRUB_ETHRES_BECT_SET(_reg, _val)
 
#define MEMSCRUB_ETHRES_BECT(_val)
 
#define MEMSCRUB_ETHRES_RECTE   0x2U
 
#define MEMSCRUB_ETHRES_BECTE   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ MEMSCRUB_ETHRES_BECT

#define MEMSCRUB_ETHRES_BECT (   _val)
Value:
( ( ( _val ) << MEMSCRUB_ETHRES_BECT_SHIFT ) & \
MEMSCRUB_ETHRES_BECT_MASK )

◆ MEMSCRUB_ETHRES_BECT_GET

#define MEMSCRUB_ETHRES_BECT_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_ETHRES_BECT_MASK ) >> \
MEMSCRUB_ETHRES_BECT_SHIFT )

◆ MEMSCRUB_ETHRES_BECT_SET

#define MEMSCRUB_ETHRES_BECT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_ETHRES_BECT_MASK ) | \
( ( ( _val ) << MEMSCRUB_ETHRES_BECT_SHIFT ) & \
MEMSCRUB_ETHRES_BECT_MASK ) )

◆ MEMSCRUB_ETHRES_RECT

#define MEMSCRUB_ETHRES_RECT (   _val)
Value:
( ( ( _val ) << MEMSCRUB_ETHRES_RECT_SHIFT ) & \
MEMSCRUB_ETHRES_RECT_MASK )

◆ MEMSCRUB_ETHRES_RECT_GET

#define MEMSCRUB_ETHRES_RECT_GET (   _reg)
Value:
( ( ( _reg ) & MEMSCRUB_ETHRES_RECT_MASK ) >> \
MEMSCRUB_ETHRES_RECT_SHIFT )

◆ MEMSCRUB_ETHRES_RECT_SET

#define MEMSCRUB_ETHRES_RECT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~MEMSCRUB_ETHRES_RECT_MASK ) | \
( ( ( _val ) << MEMSCRUB_ETHRES_RECT_SHIFT ) & \
MEMSCRUB_ETHRES_RECT_MASK ) )