RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
I/O port direction register (DIRECTION)

This group contains register bit definitions. More...

Macros

#define GRGPIO_DIRECTION_DIR_SHIFT   0
 
#define GRGPIO_DIRECTION_DIR_MASK   0xffffffffU
 
#define GRGPIO_DIRECTION_DIR_GET(_reg)
 
#define GRGPIO_DIRECTION_DIR_SET(_reg, _val)
 
#define GRGPIO_DIRECTION_DIR(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRGPIO_DIRECTION_DIR

#define GRGPIO_DIRECTION_DIR (   _val)
Value:
( ( ( _val ) << GRGPIO_DIRECTION_DIR_SHIFT ) & \
GRGPIO_DIRECTION_DIR_MASK )

◆ GRGPIO_DIRECTION_DIR_GET

#define GRGPIO_DIRECTION_DIR_GET (   _reg)
Value:
( ( ( _reg ) & GRGPIO_DIRECTION_DIR_MASK ) >> \
GRGPIO_DIRECTION_DIR_SHIFT )

◆ GRGPIO_DIRECTION_DIR_SET

#define GRGPIO_DIRECTION_DIR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRGPIO_DIRECTION_DIR_MASK ) | \
( ( ( _val ) << GRGPIO_DIRECTION_DIR_SHIFT ) & \
GRGPIO_DIRECTION_DIR_MASK ) )