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

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPVEND_VEND_SHIFT   16
 
#define SPWPNP_PNPVEND_VEND_MASK   0xffff0000U
 
#define SPWPNP_PNPVEND_VEND_GET(_reg)
 
#define SPWPNP_PNPVEND_VEND_SET(_reg, _val)
 
#define SPWPNP_PNPVEND_VEND(_val)
 
#define SPWPNP_PNPVEND_PROD_SHIFT   0
 
#define SPWPNP_PNPVEND_PROD_MASK   0xffffU
 
#define SPWPNP_PNPVEND_PROD_GET(_reg)
 
#define SPWPNP_PNPVEND_PROD_SET(_reg, _val)
 
#define SPWPNP_PNPVEND_PROD(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPVEND_PROD

#define SPWPNP_PNPVEND_PROD (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVEND_PROD_SHIFT ) & \
SPWPNP_PNPVEND_PROD_MASK )

◆ SPWPNP_PNPVEND_PROD_GET

#define SPWPNP_PNPVEND_PROD_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVEND_PROD_MASK ) >> \
SPWPNP_PNPVEND_PROD_SHIFT )

◆ SPWPNP_PNPVEND_PROD_SET

#define SPWPNP_PNPVEND_PROD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVEND_PROD_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVEND_PROD_SHIFT ) & \
SPWPNP_PNPVEND_PROD_MASK ) )

◆ SPWPNP_PNPVEND_VEND

#define SPWPNP_PNPVEND_VEND (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVEND_VEND_SHIFT ) & \
SPWPNP_PNPVEND_VEND_MASK )

◆ SPWPNP_PNPVEND_VEND_GET

#define SPWPNP_PNPVEND_VEND_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVEND_VEND_MASK ) >> \
SPWPNP_PNPVEND_VEND_SHIFT )

◆ SPWPNP_PNPVEND_VEND_SET

#define SPWPNP_PNPVEND_VEND_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVEND_VEND_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVEND_VEND_SHIFT ) & \
SPWPNP_PNPVEND_VEND_MASK ) )