RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
SpaceWire Plug-and-Play - Vendor String Length (PNPVSTRL)

This group contains register bit definitions. More...

Macros

#define SPWPNP_PNPVSTRL_LEN_SHIFT   0
 
#define SPWPNP_PNPVSTRL_LEN_MASK   0x7fffU
 
#define SPWPNP_PNPVSTRL_LEN_GET(_reg)
 
#define SPWPNP_PNPVSTRL_LEN_SET(_reg, _val)
 
#define SPWPNP_PNPVSTRL_LEN(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPWPNP_PNPVSTRL_LEN

#define SPWPNP_PNPVSTRL_LEN (   _val)
Value:
( ( ( _val ) << SPWPNP_PNPVSTRL_LEN_SHIFT ) & \
SPWPNP_PNPVSTRL_LEN_MASK )

◆ SPWPNP_PNPVSTRL_LEN_GET

#define SPWPNP_PNPVSTRL_LEN_GET (   _reg)
Value:
( ( ( _reg ) & SPWPNP_PNPVSTRL_LEN_MASK ) >> \
SPWPNP_PNPVSTRL_LEN_SHIFT )

◆ SPWPNP_PNPVSTRL_LEN_SET

#define SPWPNP_PNPVSTRL_LEN_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPWPNP_PNPVSTRL_LEN_MASK ) | \
( ( ( _val ) << SPWPNP_PNPVSTRL_LEN_SHIFT ) & \
SPWPNP_PNPVSTRL_LEN_MASK ) )