RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
control register (CR)

This group contains register bit definitions. More...

Macros

#define GRETHGBIT_CR_EA   0x80000000U
 
#define GRETHGBIT_CR_BS_SHIFT   28
 
#define GRETHGBIT_CR_BS_MASK   0x70000000U
 
#define GRETHGBIT_CR_BS_GET(_reg)
 
#define GRETHGBIT_CR_BS_SET(_reg, _val)
 
#define GRETHGBIT_CR_BS(_val)
 
#define GRETHGBIT_CR_GA   0x8000000U
 
#define GRETHGBIT_CR_MA   0x4000000U
 
#define GRETHGBIT_CR_MC   0x2000000U
 
#define GRETHGBIT_CR_ED   0x4000U
 
#define GRETHGBIT_CR_RD   0x2000U
 
#define GRETHGBIT_CR_DD   0x1000U
 
#define GRETHGBIT_CR_ME   0x800U
 
#define GRETHGBIT_CR_PI   0x400U
 
#define GRETHGBIT_CR_BM   0x200U
 
#define GRETHGBIT_CR_GB   0x100U
 
#define GRETHGBIT_CR_SP   0x80U
 
#define GRETHGBIT_CR_RS   0x40U
 
#define GRETHGBIT_CR_PM   0x20U
 
#define GRETHGBIT_CR_FD   0x10U
 
#define GRETHGBIT_CR_RI   0x8U
 
#define GRETHGBIT_CR_TI   0x4U
 
#define GRETHGBIT_CR_RE   0x2U
 
#define GRETHGBIT_CR_TE   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRETHGBIT_CR_BS

#define GRETHGBIT_CR_BS (   _val)
Value:
( ( ( _val ) << GRETHGBIT_CR_BS_SHIFT ) & \
GRETHGBIT_CR_BS_MASK )

◆ GRETHGBIT_CR_BS_GET

#define GRETHGBIT_CR_BS_GET (   _reg)
Value:
( ( ( _reg ) & GRETHGBIT_CR_BS_MASK ) >> \
GRETHGBIT_CR_BS_SHIFT )

◆ GRETHGBIT_CR_BS_SET

#define GRETHGBIT_CR_BS_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRETHGBIT_CR_BS_MASK ) | \
( ( ( _val ) << GRETHGBIT_CR_BS_SHIFT ) & \
GRETHGBIT_CR_BS_MASK ) )