RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Device Vendor and Product ID (PNPVEND)

This group contains register bit definitions. More...

Macros

#define GRSPW2_PNPVEND_VEND_SHIFT   16
 
#define GRSPW2_PNPVEND_VEND_MASK   0xffff0000U
 
#define GRSPW2_PNPVEND_VEND_GET(_reg)
 
#define GRSPW2_PNPVEND_VEND_SET(_reg, _val)
 
#define GRSPW2_PNPVEND_VEND(_val)
 
#define GRSPW2_PNPVEND_PROD_SHIFT   0
 
#define GRSPW2_PNPVEND_PROD_MASK   0xffffU
 
#define GRSPW2_PNPVEND_PROD_GET(_reg)
 
#define GRSPW2_PNPVEND_PROD_SET(_reg, _val)
 
#define GRSPW2_PNPVEND_PROD(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPW2_PNPVEND_PROD

#define GRSPW2_PNPVEND_PROD (   _val)
Value:
( ( ( _val ) << GRSPW2_PNPVEND_PROD_SHIFT ) & \
GRSPW2_PNPVEND_PROD_MASK )

◆ GRSPW2_PNPVEND_PROD_GET

#define GRSPW2_PNPVEND_PROD_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_PNPVEND_PROD_MASK ) >> \
GRSPW2_PNPVEND_PROD_SHIFT )

◆ GRSPW2_PNPVEND_PROD_SET

#define GRSPW2_PNPVEND_PROD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_PNPVEND_PROD_MASK ) | \
( ( ( _val ) << GRSPW2_PNPVEND_PROD_SHIFT ) & \
GRSPW2_PNPVEND_PROD_MASK ) )

◆ GRSPW2_PNPVEND_VEND

#define GRSPW2_PNPVEND_VEND (   _val)
Value:
( ( ( _val ) << GRSPW2_PNPVEND_VEND_SHIFT ) & \
GRSPW2_PNPVEND_VEND_MASK )

◆ GRSPW2_PNPVEND_VEND_GET

#define GRSPW2_PNPVEND_VEND_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_PNPVEND_VEND_MASK ) >> \
GRSPW2_PNPVEND_VEND_SHIFT )

◆ GRSPW2_PNPVEND_VEND_SET

#define GRSPW2_PNPVEND_VEND_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_PNPVEND_VEND_MASK ) | \
( ( ( _val ) << GRSPW2_PNPVEND_VEND_SHIFT ) & \
GRSPW2_PNPVEND_VEND_MASK ) )