RTEMS 6.1-rc1
Macros
SpaceWire Plug-and-Play - Product String Length (PNPPSTRL)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPPSTRL_LEN_SHIFT   0
 
#define SPWPNP_PNPPSTRL_LEN_MASK   0x7fffU
 
#define SPWPNP_PNPPSTRL_LEN_GET(_reg)
 
#define SPWPNP_PNPPSTRL_LEN_SET(_reg, _val)
 
#define SPWPNP_PNPPSTRL_LEN(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPPSTRL_LEN

#define SPWPNP_PNPPSTRL_LEN (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPPSTRL_LEN_SHIFT ) & \
SPWPNP_PNPPSTRL_LEN_MASK )

◆ SPWPNP_PNPPSTRL_LEN_GET

#define SPWPNP_PNPPSTRL_LEN_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPPSTRL_LEN_MASK ) >> \
SPWPNP_PNPPSTRL_LEN_SHIFT )

◆ SPWPNP_PNPPSTRL_LEN_SET

#define SPWPNP_PNPPSTRL_LEN_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPPSTRL_LEN_MASK ) | \
( ( ( _val ) << SPWPNP_PNPPSTRL_LEN_SHIFT ) & \
SPWPNP_PNPPSTRL_LEN_MASK ) )