RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Version (PNPVER)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPVER_MAJOR_SHIFT   24
 
#define SPWPNP_PNPVER_MAJOR_MASK   0xff000000U
 
#define SPWPNP_PNPVER_MAJOR_GET(_reg)
 
#define SPWPNP_PNPVER_MAJOR_SET(_reg, _val)
 
#define SPWPNP_PNPVER_MAJOR(_val)
 
#define SPWPNP_PNPVER_MINOR_SHIFT   16
 
#define SPWPNP_PNPVER_MINOR_MASK   0xff0000U
 
#define SPWPNP_PNPVER_MINOR_GET(_reg)
 
#define SPWPNP_PNPVER_MINOR_SET(_reg, _val)
 
#define SPWPNP_PNPVER_MINOR(_val)
 
#define SPWPNP_PNPVER_PATCH_SHIFT   8
 
#define SPWPNP_PNPVER_PATCH_MASK   0xff00U
 
#define SPWPNP_PNPVER_PATCH_GET(_reg)
 
#define SPWPNP_PNPVER_PATCH_SET(_reg, _val)
 
#define SPWPNP_PNPVER_PATCH(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPVER_MAJOR

#define SPWPNP_PNPVER_MAJOR (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVER_MAJOR_SHIFT ) & \
SPWPNP_PNPVER_MAJOR_MASK )

◆ SPWPNP_PNPVER_MAJOR_GET

#define SPWPNP_PNPVER_MAJOR_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVER_MAJOR_MASK ) >> \
SPWPNP_PNPVER_MAJOR_SHIFT )

◆ SPWPNP_PNPVER_MAJOR_SET

#define SPWPNP_PNPVER_MAJOR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVER_MAJOR_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVER_MAJOR_SHIFT ) & \
SPWPNP_PNPVER_MAJOR_MASK ) )

◆ SPWPNP_PNPVER_MINOR

#define SPWPNP_PNPVER_MINOR (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVER_MINOR_SHIFT ) & \
SPWPNP_PNPVER_MINOR_MASK )

◆ SPWPNP_PNPVER_MINOR_GET

#define SPWPNP_PNPVER_MINOR_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVER_MINOR_MASK ) >> \
SPWPNP_PNPVER_MINOR_SHIFT )

◆ SPWPNP_PNPVER_MINOR_SET

#define SPWPNP_PNPVER_MINOR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVER_MINOR_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVER_MINOR_SHIFT ) & \
SPWPNP_PNPVER_MINOR_MASK ) )

◆ SPWPNP_PNPVER_PATCH

#define SPWPNP_PNPVER_PATCH (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVER_PATCH_SHIFT ) & \
SPWPNP_PNPVER_PATCH_MASK )

◆ SPWPNP_PNPVER_PATCH_GET

#define SPWPNP_PNPVER_PATCH_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVER_PATCH_MASK ) >> \
SPWPNP_PNPVER_PATCH_SHIFT )

◆ SPWPNP_PNPVER_PATCH_SET

#define SPWPNP_PNPVER_PATCH_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVER_PATCH_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVER_PATCH_SHIFT ) & \
SPWPNP_PNPVER_PATCH_MASK ) )