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

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPUVEND_VEND_SHIFT   16
 
#define SPWPNP_PNPUVEND_VEND_MASK   0xffff0000U
 
#define SPWPNP_PNPUVEND_VEND_GET(_reg)
 
#define SPWPNP_PNPUVEND_VEND_SET(_reg, _val)
 
#define SPWPNP_PNPUVEND_VEND(_val)
 
#define SPWPNP_PNPUVEND_PROD_SHIFT   0
 
#define SPWPNP_PNPUVEND_PROD_MASK   0xffffU
 
#define SPWPNP_PNPUVEND_PROD_GET(_reg)
 
#define SPWPNP_PNPUVEND_PROD_SET(_reg, _val)
 
#define SPWPNP_PNPUVEND_PROD(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPUVEND_PROD

#define SPWPNP_PNPUVEND_PROD (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPUVEND_PROD_SHIFT ) & \
SPWPNP_PNPUVEND_PROD_MASK )

◆ SPWPNP_PNPUVEND_PROD_GET

#define SPWPNP_PNPUVEND_PROD_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPUVEND_PROD_MASK ) >> \
SPWPNP_PNPUVEND_PROD_SHIFT )

◆ SPWPNP_PNPUVEND_PROD_SET

#define SPWPNP_PNPUVEND_PROD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPUVEND_PROD_MASK ) | \
( ( ( _val ) << SPWPNP_PNPUVEND_PROD_SHIFT ) & \
SPWPNP_PNPUVEND_PROD_MASK ) )

◆ SPWPNP_PNPUVEND_VEND

#define SPWPNP_PNPUVEND_VEND (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPUVEND_VEND_SHIFT ) & \
SPWPNP_PNPUVEND_VEND_MASK )

◆ SPWPNP_PNPUVEND_VEND_GET

#define SPWPNP_PNPUVEND_VEND_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPUVEND_VEND_MASK ) >> \
SPWPNP_PNPUVEND_VEND_SHIFT )

◆ SPWPNP_PNPUVEND_VEND_SET

#define SPWPNP_PNPUVEND_VEND_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPUVEND_VEND_MASK ) | \
( ( ( _val ) << SPWPNP_PNPUVEND_VEND_SHIFT ) & \
SPWPNP_PNPUVEND_VEND_MASK ) )