RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Outgoing packet counter, ports > 0 (OPKTCNT)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_OPKTCNT_OR   0x80000000U
 
#define GRSPWROUTER_OPKTCNT_PC_SHIFT   0
 
#define GRSPWROUTER_OPKTCNT_PC_MASK   0x7fffffffU
 
#define GRSPWROUTER_OPKTCNT_PC_GET(_reg)
 
#define GRSPWROUTER_OPKTCNT_PC_SET(_reg, _val)
 
#define GRSPWROUTER_OPKTCNT_PC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_OPKTCNT_PC

#define GRSPWROUTER_OPKTCNT_PC (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_OPKTCNT_PC_SHIFT ) & \
GRSPWROUTER_OPKTCNT_PC_MASK )

◆ GRSPWROUTER_OPKTCNT_PC_GET

#define GRSPWROUTER_OPKTCNT_PC_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_OPKTCNT_PC_MASK ) >> \
GRSPWROUTER_OPKTCNT_PC_SHIFT )

◆ GRSPWROUTER_OPKTCNT_PC_SET

#define GRSPWROUTER_OPKTCNT_PC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_OPKTCNT_PC_MASK ) | \
( ( ( _val ) << GRSPWROUTER_OPKTCNT_PC_SHIFT ) & \
GRSPWROUTER_OPKTCNT_PC_MASK ) )