RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Pulse register (PULSE)

This group contains register bit definitions. More...

Macros

#define GRGPIO_PULSE_PULSE_SHIFT   0
 
#define GRGPIO_PULSE_PULSE_MASK   0xffffffffU
 
#define GRGPIO_PULSE_PULSE_GET(_reg)
 
#define GRGPIO_PULSE_PULSE_SET(_reg, _val)
 
#define GRGPIO_PULSE_PULSE(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRGPIO_PULSE_PULSE

#define GRGPIO_PULSE_PULSE (   _val)
Value:
( ( ( _val ) << GRGPIO_PULSE_PULSE_SHIFT ) & \
GRGPIO_PULSE_PULSE_MASK )

◆ GRGPIO_PULSE_PULSE_GET

#define GRGPIO_PULSE_PULSE_GET (   _reg)
Value:
( ( ( _reg ) & GRGPIO_PULSE_PULSE_MASK ) >> \
GRGPIO_PULSE_PULSE_SHIFT )

◆ GRGPIO_PULSE_PULSE_SET

#define GRGPIO_PULSE_PULSE_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRGPIO_PULSE_PULSE_MASK ) | \
( ( ( _val ) << GRGPIO_PULSE_PULSE_SHIFT ) & \
GRGPIO_PULSE_PULSE_MASK ) )