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

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPDEVSTS_STATUS_SHIFT   0
 
#define SPWPNP_PNPDEVSTS_STATUS_MASK   0xffU
 
#define SPWPNP_PNPDEVSTS_STATUS_GET(_reg)
 
#define SPWPNP_PNPDEVSTS_STATUS_SET(_reg, _val)
 
#define SPWPNP_PNPDEVSTS_STATUS(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPDEVSTS_STATUS

#define SPWPNP_PNPDEVSTS_STATUS (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPDEVSTS_STATUS_SHIFT ) & \
SPWPNP_PNPDEVSTS_STATUS_MASK )

◆ SPWPNP_PNPDEVSTS_STATUS_GET

#define SPWPNP_PNPDEVSTS_STATUS_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPDEVSTS_STATUS_MASK ) >> \
SPWPNP_PNPDEVSTS_STATUS_SHIFT )

◆ SPWPNP_PNPDEVSTS_STATUS_SET

#define SPWPNP_PNPDEVSTS_STATUS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPDEVSTS_STATUS_MASK ) | \
( ( ( _val ) << SPWPNP_PNPDEVSTS_STATUS_SHIFT ) & \
SPWPNP_PNPDEVSTS_STATUS_MASK ) )