RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Credit counter, SpaceWire ports (CREDCNT)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_CREDCNT_OC_SHIFT   6
 
#define GRSPWROUTER_CREDCNT_OC_MASK   0xfc0U
 
#define GRSPWROUTER_CREDCNT_OC_GET(_reg)
 
#define GRSPWROUTER_CREDCNT_OC_SET(_reg, _val)
 
#define GRSPWROUTER_CREDCNT_OC(_val)
 
#define GRSPWROUTER_CREDCNT_IC_SHIFT   0
 
#define GRSPWROUTER_CREDCNT_IC_MASK   0x3fU
 
#define GRSPWROUTER_CREDCNT_IC_GET(_reg)
 
#define GRSPWROUTER_CREDCNT_IC_SET(_reg, _val)
 
#define GRSPWROUTER_CREDCNT_IC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_CREDCNT_IC

#define GRSPWROUTER_CREDCNT_IC (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_CREDCNT_IC_SHIFT ) & \
GRSPWROUTER_CREDCNT_IC_MASK )

◆ GRSPWROUTER_CREDCNT_IC_GET

#define GRSPWROUTER_CREDCNT_IC_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_CREDCNT_IC_MASK ) >> \
GRSPWROUTER_CREDCNT_IC_SHIFT )

◆ GRSPWROUTER_CREDCNT_IC_SET

#define GRSPWROUTER_CREDCNT_IC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_CREDCNT_IC_MASK ) | \
( ( ( _val ) << GRSPWROUTER_CREDCNT_IC_SHIFT ) & \
GRSPWROUTER_CREDCNT_IC_MASK ) )

◆ GRSPWROUTER_CREDCNT_OC

#define GRSPWROUTER_CREDCNT_OC (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_CREDCNT_OC_SHIFT ) & \
GRSPWROUTER_CREDCNT_OC_MASK )

◆ GRSPWROUTER_CREDCNT_OC_GET

#define GRSPWROUTER_CREDCNT_OC_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_CREDCNT_OC_MASK ) >> \
GRSPWROUTER_CREDCNT_OC_SHIFT )

◆ GRSPWROUTER_CREDCNT_OC_SET

#define GRSPWROUTER_CREDCNT_OC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_CREDCNT_OC_MASK ) | \
( ( ( _val ) << GRSPWROUTER_CREDCNT_OC_SHIFT ) & \
GRSPWROUTER_CREDCNT_OC_MASK ) )