RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Port control 2, ports > 0 (PCTRL2)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_PCTRL2_SM_SHIFT   24
 
#define GRSPWROUTER_PCTRL2_SM_MASK   0xff000000U
 
#define GRSPWROUTER_PCTRL2_SM_GET(_reg)
 
#define GRSPWROUTER_PCTRL2_SM_SET(_reg, _val)
 
#define GRSPWROUTER_PCTRL2_SM(_val)
 
#define GRSPWROUTER_PCTRL2_SV_SHIFT   16
 
#define GRSPWROUTER_PCTRL2_SV_MASK   0xff0000U
 
#define GRSPWROUTER_PCTRL2_SV_GET(_reg)
 
#define GRSPWROUTER_PCTRL2_SV_SET(_reg, _val)
 
#define GRSPWROUTER_PCTRL2_SV(_val)
 
#define GRSPWROUTER_PCTRL2_OR   0x8000U
 
#define GRSPWROUTER_PCTRL2_UR   0x4000U
 
#define GRSPWROUTER_PCTRL2_R   0x2000U
 
#define GRSPWROUTER_PCTRL2_AT   0x1000U
 
#define GRSPWROUTER_PCTRL2_AR   0x800U
 
#define GRSPWROUTER_PCTRL2_IT   0x400U
 
#define GRSPWROUTER_PCTRL2_IR   0x200U
 
#define GRSPWROUTER_PCTRL2_SD_SHIFT   1
 
#define GRSPWROUTER_PCTRL2_SD_MASK   0x3eU
 
#define GRSPWROUTER_PCTRL2_SD_GET(_reg)
 
#define GRSPWROUTER_PCTRL2_SD_SET(_reg, _val)
 
#define GRSPWROUTER_PCTRL2_SD(_val)
 
#define GRSPWROUTER_PCTRL2_SC   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_PCTRL2_SD

#define GRSPWROUTER_PCTRL2_SD (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PCTRL2_SD_SHIFT ) & \
GRSPWROUTER_PCTRL2_SD_MASK )

◆ GRSPWROUTER_PCTRL2_SD_GET

#define GRSPWROUTER_PCTRL2_SD_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PCTRL2_SD_MASK ) >> \
GRSPWROUTER_PCTRL2_SD_SHIFT )

◆ GRSPWROUTER_PCTRL2_SD_SET

#define GRSPWROUTER_PCTRL2_SD_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PCTRL2_SD_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PCTRL2_SD_SHIFT ) & \
GRSPWROUTER_PCTRL2_SD_MASK ) )

◆ GRSPWROUTER_PCTRL2_SM

#define GRSPWROUTER_PCTRL2_SM (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PCTRL2_SM_SHIFT ) & \
GRSPWROUTER_PCTRL2_SM_MASK )

◆ GRSPWROUTER_PCTRL2_SM_GET

#define GRSPWROUTER_PCTRL2_SM_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PCTRL2_SM_MASK ) >> \
GRSPWROUTER_PCTRL2_SM_SHIFT )

◆ GRSPWROUTER_PCTRL2_SM_SET

#define GRSPWROUTER_PCTRL2_SM_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PCTRL2_SM_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PCTRL2_SM_SHIFT ) & \
GRSPWROUTER_PCTRL2_SM_MASK ) )

◆ GRSPWROUTER_PCTRL2_SV

#define GRSPWROUTER_PCTRL2_SV (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PCTRL2_SV_SHIFT ) & \
GRSPWROUTER_PCTRL2_SV_MASK )

◆ GRSPWROUTER_PCTRL2_SV_GET

#define GRSPWROUTER_PCTRL2_SV_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PCTRL2_SV_MASK ) >> \
GRSPWROUTER_PCTRL2_SV_SHIFT )

◆ GRSPWROUTER_PCTRL2_SV_SET

#define GRSPWROUTER_PCTRL2_SV_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PCTRL2_SV_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PCTRL2_SV_SHIFT ) & \
GRSPWROUTER_PCTRL2_SV_MASK ) )