RTEMS 6.1-rc1
Macros
Destination key (DKEY)

This group contains register bit definitions. More...

Macros

#define GRSPW2_DKEY_DESTKEY_SHIFT   0
 
#define GRSPW2_DKEY_DESTKEY_MASK   0xffU
 
#define GRSPW2_DKEY_DESTKEY_GET(_reg)
 
#define GRSPW2_DKEY_DESTKEY_SET(_reg, _val)
 
#define GRSPW2_DKEY_DESTKEY(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPW2_DKEY_DESTKEY

#define GRSPW2_DKEY_DESTKEY (   _val)
Value:
( ( ( _val ) << GRSPW2_DKEY_DESTKEY_SHIFT ) & \
GRSPW2_DKEY_DESTKEY_MASK )

◆ GRSPW2_DKEY_DESTKEY_GET

#define GRSPW2_DKEY_DESTKEY_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_DKEY_DESTKEY_MASK ) >> \
GRSPW2_DKEY_DESTKEY_SHIFT )

◆ GRSPW2_DKEY_DESTKEY_SET

#define GRSPW2_DKEY_DESTKEY_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_DKEY_DESTKEY_MASK ) | \
( ( ( _val ) << GRSPW2_DKEY_DESTKEY_SHIFT ) & \
GRSPW2_DKEY_DESTKEY_MASK ) )