RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Interrupt edge register (IEDGE)

This group contains register bit definitions. More...

Macros

#define GRGPIO_IEDGE_EDGE_SHIFT   0
 
#define GRGPIO_IEDGE_EDGE_MASK   0xffffffffU
 
#define GRGPIO_IEDGE_EDGE_GET(_reg)
 
#define GRGPIO_IEDGE_EDGE_SET(_reg, _val)
 
#define GRGPIO_IEDGE_EDGE(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRGPIO_IEDGE_EDGE

#define GRGPIO_IEDGE_EDGE (   _val)
Value:
( ( ( _val ) << GRGPIO_IEDGE_EDGE_SHIFT ) & \
GRGPIO_IEDGE_EDGE_MASK )

◆ GRGPIO_IEDGE_EDGE_GET

#define GRGPIO_IEDGE_EDGE_GET (   _reg)
Value:
( ( ( _reg ) & GRGPIO_IEDGE_EDGE_MASK ) >> \
GRGPIO_IEDGE_EDGE_SHIFT )

◆ GRGPIO_IEDGE_EDGE_SET

#define GRGPIO_IEDGE_EDGE_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRGPIO_IEDGE_EDGE_MASK ) | \
( ( ( _val ) << GRGPIO_IEDGE_EDGE_SHIFT ) & \
GRGPIO_IEDGE_EDGE_MASK ) )