RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Protocol Count (PNPPCNT)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPPCNT_PC_SHIFT   0
 
#define SPWPNP_PNPPCNT_PC_MASK   0x1fU
 
#define SPWPNP_PNPPCNT_PC_GET(_reg)
 
#define SPWPNP_PNPPCNT_PC_SET(_reg, _val)
 
#define SPWPNP_PNPPCNT_PC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPPCNT_PC

#define SPWPNP_PNPPCNT_PC (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPPCNT_PC_SHIFT ) & \
SPWPNP_PNPPCNT_PC_MASK )

◆ SPWPNP_PNPPCNT_PC_GET

#define SPWPNP_PNPPCNT_PC_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPPCNT_PC_MASK ) >> \
SPWPNP_PNPPCNT_PC_SHIFT )

◆ SPWPNP_PNPPCNT_PC_SET

#define SPWPNP_PNPPCNT_PC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPPCNT_PC_MASK ) | \
( ( ( _val ) << SPWPNP_PNPPCNT_PC_SHIFT ) & \
SPWPNP_PNPPCNT_PC_MASK ) )