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

This group contains register bit definitions. More...

Macros

#define GRSPW2_PNPDEVID_DID_SHIFT   0
 
#define GRSPW2_PNPDEVID_DID_MASK   0xffffffffU
 
#define GRSPW2_PNPDEVID_DID_GET(_reg)
 
#define GRSPW2_PNPDEVID_DID_SET(_reg, _val)
 
#define GRSPW2_PNPDEVID_DID(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPW2_PNPDEVID_DID

#define GRSPW2_PNPDEVID_DID (   _val)
Value:
( ( ( _val ) << GRSPW2_PNPDEVID_DID_SHIFT ) & \
GRSPW2_PNPDEVID_DID_MASK )

◆ GRSPW2_PNPDEVID_DID_GET

#define GRSPW2_PNPDEVID_DID_GET (   _reg)
Value:
( ( ( _reg ) & GRSPW2_PNPDEVID_DID_MASK ) >> \
GRSPW2_PNPDEVID_DID_SHIFT )

◆ GRSPW2_PNPDEVID_DID_SET

#define GRSPW2_PNPDEVID_DID_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPW2_PNPDEVID_DID_MASK ) | \
( ( ( _val ) << GRSPW2_PNPDEVID_DID_SHIFT ) & \
GRSPW2_PNPDEVID_DID_MASK ) )