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

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_GPO_GPO_SHIFT   0
 
#define GRSPWROUTER_GPO_GPO_MASK   0xffffffffU
 
#define GRSPWROUTER_GPO_GPO_GET(_reg)
 
#define GRSPWROUTER_GPO_GPO_SET(_reg, _val)
 
#define GRSPWROUTER_GPO_GPO(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_GPO_GPO

#define GRSPWROUTER_GPO_GPO (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_GPO_GPO_SHIFT ) & \
GRSPWROUTER_GPO_GPO_MASK )

◆ GRSPWROUTER_GPO_GPO_GET

#define GRSPWROUTER_GPO_GPO_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_GPO_GPO_MASK ) >> \
GRSPWROUTER_GPO_GPO_SHIFT )

◆ GRSPWROUTER_GPO_GPO_SET

#define GRSPWROUTER_GPO_GPO_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_GPO_GPO_MASK ) | \
( ( ( _val ) << GRSPWROUTER_GPO_GPO_SHIFT ) & \
GRSPWROUTER_GPO_GPO_MASK ) )