RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Application Count (PNPACNT)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPACNT_AC_SHIFT   0
 
#define SPWPNP_PNPACNT_AC_MASK   0xffU
 
#define SPWPNP_PNPACNT_AC_GET(_reg)
 
#define SPWPNP_PNPACNT_AC_SET(_reg, _val)
 
#define SPWPNP_PNPACNT_AC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPACNT_AC

#define SPWPNP_PNPACNT_AC (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPACNT_AC_SHIFT ) & \
SPWPNP_PNPACNT_AC_MASK )

◆ SPWPNP_PNPACNT_AC_GET

#define SPWPNP_PNPACNT_AC_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPACNT_AC_MASK ) >> \
SPWPNP_PNPACNT_AC_SHIFT )

◆ SPWPNP_PNPACNT_AC_SET

#define SPWPNP_PNPACNT_AC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPACNT_AC_MASK ) | \
( ( ( _val ) << SPWPNP_PNPACNT_AC_SHIFT ) & \
SPWPNP_PNPACNT_AC_MASK ) )