RTEMS 6.1-rc1
Macros
SpaceWire Plug-and-Play - Unit Vendor and Product ID (PNPUVEND)

This group contains register bit definitions. More...

Macros

#define GRSPW2_PNPUVEND_VEND_SHIFT   16
 
#define GRSPW2_PNPUVEND_VEND_MASK   0xffff0000U
 
#define GRSPW2_PNPUVEND_VEND_GET(_reg)
 
#define GRSPW2_PNPUVEND_VEND_SET(_reg, _val)
 
#define GRSPW2_PNPUVEND_VEND(_val)
 
#define GRSPW2_PNPUVEND_PROD_SHIFT   0
 
#define GRSPW2_PNPUVEND_PROD_MASK   0xffffU
 
#define GRSPW2_PNPUVEND_PROD_GET(_reg)
 
#define GRSPW2_PNPUVEND_PROD_SET(_reg, _val)
 
#define GRSPW2_PNPUVEND_PROD(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPW2_PNPUVEND_PROD

#define GRSPW2_PNPUVEND_PROD (   _val)
Value:
( ( ( _val ) << GRSPW2_PNPUVEND_PROD_SHIFT ) & \
GRSPW2_PNPUVEND_PROD_MASK )

◆ GRSPW2_PNPUVEND_PROD_GET

#define GRSPW2_PNPUVEND_PROD_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_PNPUVEND_PROD_MASK ) >> \
GRSPW2_PNPUVEND_PROD_SHIFT )

◆ GRSPW2_PNPUVEND_PROD_SET

#define GRSPW2_PNPUVEND_PROD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_PNPUVEND_PROD_MASK ) | \
( ( ( _val ) << GRSPW2_PNPUVEND_PROD_SHIFT ) & \
GRSPW2_PNPUVEND_PROD_MASK ) )

◆ GRSPW2_PNPUVEND_VEND

#define GRSPW2_PNPUVEND_VEND (   _val)
Value:
( ( ( _val ) << GRSPW2_PNPUVEND_VEND_SHIFT ) & \
GRSPW2_PNPUVEND_VEND_MASK )

◆ GRSPW2_PNPUVEND_VEND_GET

#define GRSPW2_PNPUVEND_VEND_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_PNPUVEND_VEND_MASK ) >> \
GRSPW2_PNPUVEND_VEND_SHIFT )

◆ GRSPW2_PNPUVEND_VEND_SET

#define GRSPW2_PNPUVEND_VEND_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_PNPUVEND_VEND_MASK ) | \
( ( ( _val ) << GRSPW2_PNPUVEND_VEND_SHIFT ) & \
GRSPW2_PNPUVEND_VEND_MASK ) )