RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Initialization divisor (IDIV)

This group contains register bit definitions. More...

Macros

#define GRSPWROUTER_IDIV_ID_SHIFT   0
 
#define GRSPWROUTER_IDIV_ID_MASK   0xffU
 
#define GRSPWROUTER_IDIV_ID_GET(_reg)
 
#define GRSPWROUTER_IDIV_ID_SET(_reg, _val)
 
#define GRSPWROUTER_IDIV_ID(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRSPWROUTER_IDIV_ID

#define GRSPWROUTER_IDIV_ID (   _val)
Value:
( ( ( _val ) << GRSPWROUTER_IDIV_ID_SHIFT ) & \
GRSPWROUTER_IDIV_ID_MASK )

◆ GRSPWROUTER_IDIV_ID_GET

#define GRSPWROUTER_IDIV_ID_GET (   _reg)
Value:
( ( ( _reg ) & GRSPWROUTER_IDIV_ID_MASK ) >> \
GRSPWROUTER_IDIV_ID_SHIFT )

◆ GRSPWROUTER_IDIV_ID_SET

#define GRSPWROUTER_IDIV_ID_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRSPWROUTER_IDIV_ID_MASK ) | \
( ( ( _val ) << GRSPWROUTER_IDIV_ID_SHIFT ) & \
GRSPWROUTER_IDIV_ID_MASK ) )