RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
General purpose in, bits 0-31, 32-63, 64-95, and 96-127 (GPI)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_GPI_GPI_SHIFT   0
 
#define GRSPWROUTER_GPI_GPI_MASK   0xffffffffU
 
#define GRSPWROUTER_GPI_GPI_GET(_reg)
 
#define GRSPWROUTER_GPI_GPI_SET(_reg, _val)
 
#define GRSPWROUTER_GPI_GPI(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_GPI_GPI

#define GRSPWROUTER_GPI_GPI (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_GPI_GPI_SHIFT ) & \
GRSPWROUTER_GPI_GPI_MASK )

◆ GRSPWROUTER_GPI_GPI_GET

#define GRSPWROUTER_GPI_GPI_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_GPI_GPI_MASK ) >> \
GRSPWROUTER_GPI_GPI_SHIFT )

◆ GRSPWROUTER_GPI_GPI_SET

#define GRSPWROUTER_GPI_GPI_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_GPI_GPI_MASK ) | \
( ( ( _val ) << GRSPWROUTER_GPI_GPI_SHIFT ) & \
GRSPWROUTER_GPI_GPI_MASK ) )