RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Device ID (PNPDEVID)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPDEVID_DID_SHIFT   0
 
#define SPWPNP_PNPDEVID_DID_MASK   0xffffffffU
 
#define SPWPNP_PNPDEVID_DID_GET(_reg)
 
#define SPWPNP_PNPDEVID_DID_SET(_reg, _val)
 
#define SPWPNP_PNPDEVID_DID(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPDEVID_DID

#define SPWPNP_PNPDEVID_DID (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPDEVID_DID_SHIFT ) & \
SPWPNP_PNPDEVID_DID_MASK )

◆ SPWPNP_PNPDEVID_DID_GET

#define SPWPNP_PNPDEVID_DID_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPDEVID_DID_MASK ) >> \
SPWPNP_PNPDEVID_DID_SHIFT )

◆ SPWPNP_PNPDEVID_DID_SET

#define SPWPNP_PNPDEVID_DID_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPDEVID_DID_MASK ) | \
( ( ( _val ) << SPWPNP_PNPDEVID_DID_SHIFT ) & \
SPWPNP_PNPDEVID_DID_MASK ) )