RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Port status, ports > 0 (PSTS)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_PSTS_PT_SHIFT   30
 
#define GRSPWROUTER_PSTS_PT_MASK   0xc0000000U
 
#define GRSPWROUTER_PSTS_PT_GET(_reg)
 
#define GRSPWROUTER_PSTS_PT_SET(_reg, _val)
 
#define GRSPWROUTER_PSTS_PT(_val)
 
#define GRSPWROUTER_PSTS_PL   0x20000000U
 
#define GRSPWROUTER_PSTS_TT   0x10000000U
 
#define GRSPWROUTER_PSTS_RS   0x8000000U
 
#define GRSPWROUTER_PSTS_SR   0x4000000U
 
#define GRSPWROUTER_PSTS_LR   0x400000U
 
#define GRSPWROUTER_PSTS_SP   0x200000U
 
#define GRSPWROUTER_PSTS_AC   0x100000U
 
#define GRSPWROUTER_PSTS_AP   0x80000U
 
#define GRSPWROUTER_PSTS_TS   0x40000U
 
#define GRSPWROUTER_PSTS_ME   0x20000U
 
#define GRSPWROUTER_PSTS_TF   0x10000U
 
#define GRSPWROUTER_PSTS_RE   0x8000U
 
#define GRSPWROUTER_PSTS_LS_SHIFT   12
 
#define GRSPWROUTER_PSTS_LS_MASK   0x7000U
 
#define GRSPWROUTER_PSTS_LS_GET(_reg)
 
#define GRSPWROUTER_PSTS_LS_SET(_reg, _val)
 
#define GRSPWROUTER_PSTS_LS(_val)
 
#define GRSPWROUTER_PSTS_IP_SHIFT   7
 
#define GRSPWROUTER_PSTS_IP_MASK   0xf80U
 
#define GRSPWROUTER_PSTS_IP_GET(_reg)
 
#define GRSPWROUTER_PSTS_IP_SET(_reg, _val)
 
#define GRSPWROUTER_PSTS_IP(_val)
 
#define GRSPWROUTER_PSTS_PR   0x40U
 
#define GRSPWROUTER_PSTS_PB   0x20U
 
#define GRSPWROUTER_PSTS_IA   0x10U
 
#define GRSPWROUTER_PSTS_CE   0x8U
 
#define GRSPWROUTER_PSTS_ER   0x4U
 
#define GRSPWROUTER_PSTS_DE   0x2U
 
#define GRSPWROUTER_PSTS_PE   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_PSTS_IP

#define GRSPWROUTER_PSTS_IP (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PSTS_IP_SHIFT ) & \
GRSPWROUTER_PSTS_IP_MASK )

◆ GRSPWROUTER_PSTS_IP_GET

#define GRSPWROUTER_PSTS_IP_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PSTS_IP_MASK ) >> \
GRSPWROUTER_PSTS_IP_SHIFT )

◆ GRSPWROUTER_PSTS_IP_SET

#define GRSPWROUTER_PSTS_IP_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PSTS_IP_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PSTS_IP_SHIFT ) & \
GRSPWROUTER_PSTS_IP_MASK ) )

◆ GRSPWROUTER_PSTS_LS

#define GRSPWROUTER_PSTS_LS (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PSTS_LS_SHIFT ) & \
GRSPWROUTER_PSTS_LS_MASK )

◆ GRSPWROUTER_PSTS_LS_GET

#define GRSPWROUTER_PSTS_LS_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PSTS_LS_MASK ) >> \
GRSPWROUTER_PSTS_LS_SHIFT )

◆ GRSPWROUTER_PSTS_LS_SET

#define GRSPWROUTER_PSTS_LS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PSTS_LS_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PSTS_LS_SHIFT ) & \
GRSPWROUTER_PSTS_LS_MASK ) )

◆ GRSPWROUTER_PSTS_PT

#define GRSPWROUTER_PSTS_PT (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_PSTS_PT_SHIFT ) & \
GRSPWROUTER_PSTS_PT_MASK )

◆ GRSPWROUTER_PSTS_PT_GET

#define GRSPWROUTER_PSTS_PT_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_PSTS_PT_MASK ) >> \
GRSPWROUTER_PSTS_PT_SHIFT )

◆ GRSPWROUTER_PSTS_PT_SET

#define GRSPWROUTER_PSTS_PT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_PSTS_PT_MASK ) | \
( ( ( _val ) << GRSPWROUTER_PSTS_PT_SHIFT ) & \
GRSPWROUTER_PSTS_PT_MASK ) )