RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
L2C Error injection register (L2CEINJ)

This group contains register bit definitions. More...

Macros

#define L2CACHE_L2CEINJ_ADDR_SHIFT   2
 
#define L2CACHE_L2CEINJ_ADDR_MASK   0xfffffffcU
 
#define L2CACHE_L2CEINJ_ADDR_GET(_reg)
 
#define L2CACHE_L2CEINJ_ADDR_SET(_reg, _val)
 
#define L2CACHE_L2CEINJ_ADDR(_val)
 
#define L2CACHE_L2CEINJ_INJ   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ L2CACHE_L2CEINJ_ADDR

#define L2CACHE_L2CEINJ_ADDR (   _val)
Value:
( ( ( _val ) << L2CACHE_L2CEINJ_ADDR_SHIFT ) & \
L2CACHE_L2CEINJ_ADDR_MASK )

◆ L2CACHE_L2CEINJ_ADDR_GET

#define L2CACHE_L2CEINJ_ADDR_GET (   _reg)
Value:
( ( ( _reg ) & L2CACHE_L2CEINJ_ADDR_MASK ) >> \
L2CACHE_L2CEINJ_ADDR_SHIFT )

◆ L2CACHE_L2CEINJ_ADDR_SET

#define L2CACHE_L2CEINJ_ADDR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~L2CACHE_L2CEINJ_ADDR_MASK ) | \
( ( ( _val ) << L2CACHE_L2CEINJ_ADDR_SHIFT ) & \
L2CACHE_L2CEINJ_ADDR_MASK ) )