RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Unit Vendor and Product ID (PNPUVEND)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_PNPUVEND_VI_SHIFT   16
 
#define GRSPWROUTER_PNPUVEND_VI_MASK   0xffff0000U
 
#define GRSPWROUTER_PNPUVEND_VI_GET(_reg)
 
#define GRSPWROUTER_PNPUVEND_VI_SET(_reg, _val)
 
#define GRSPWROUTER_PNPUVEND_VI(_val)
 
#define GRSPWROUTER_PNPUVEND_PI_SHIFT   0
 
#define GRSPWROUTER_PNPUVEND_PI_MASK   0x3ffffffU
 
#define GRSPWROUTER_PNPUVEND_PI_GET(_reg)
 
#define GRSPWROUTER_PNPUVEND_PI_SET(_reg, _val)
 
#define GRSPWROUTER_PNPUVEND_PI(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_PNPUVEND_PI

#define GRSPWROUTER_PNPUVEND_PI (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PNPUVEND_PI_SHIFT ) & \
GRSPWROUTER_PNPUVEND_PI_MASK )

◆ GRSPWROUTER_PNPUVEND_PI_GET

#define GRSPWROUTER_PNPUVEND_PI_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PNPUVEND_PI_MASK ) >> \
GRSPWROUTER_PNPUVEND_PI_SHIFT )

◆ GRSPWROUTER_PNPUVEND_PI_SET

#define GRSPWROUTER_PNPUVEND_PI_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PNPUVEND_PI_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PNPUVEND_PI_SHIFT ) & \
GRSPWROUTER_PNPUVEND_PI_MASK ) )

◆ GRSPWROUTER_PNPUVEND_VI

#define GRSPWROUTER_PNPUVEND_VI (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PNPUVEND_VI_SHIFT ) & \
GRSPWROUTER_PNPUVEND_VI_MASK )

◆ GRSPWROUTER_PNPUVEND_VI_GET

#define GRSPWROUTER_PNPUVEND_VI_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PNPUVEND_VI_MASK ) >> \
GRSPWROUTER_PNPUVEND_VI_SHIFT )

◆ GRSPWROUTER_PNPUVEND_VI_SET

#define GRSPWROUTER_PNPUVEND_VI_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PNPUVEND_VI_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PNPUVEND_VI_SHIFT ) & \
GRSPWROUTER_PNPUVEND_VI_MASK ) )