RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
transmitter descriptor table base address register. (TDTBA)

This group contains register bit definitions. More...

Macros

#define GRETHGBIT_TDTBA_BASEADDR_SHIFT   10
 
#define GRETHGBIT_TDTBA_BASEADDR_MASK   0xfffffc00U
 
#define GRETHGBIT_TDTBA_BASEADDR_GET(_reg)
 
#define GRETHGBIT_TDTBA_BASEADDR_SET(_reg, _val)
 
#define GRETHGBIT_TDTBA_BASEADDR(_val)
 
#define GRETHGBIT_TDTBA_DESCPNT_SHIFT   3
 
#define GRETHGBIT_TDTBA_DESCPNT_MASK   0x3f8U
 
#define GRETHGBIT_TDTBA_DESCPNT_GET(_reg)
 
#define GRETHGBIT_TDTBA_DESCPNT_SET(_reg, _val)
 
#define GRETHGBIT_TDTBA_DESCPNT(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRETHGBIT_TDTBA_BASEADDR

#define GRETHGBIT_TDTBA_BASEADDR (   _val)
Value:
( ( ( _val ) << GRETHGBIT_TDTBA_BASEADDR_SHIFT ) & \
GRETHGBIT_TDTBA_BASEADDR_MASK )

◆ GRETHGBIT_TDTBA_BASEADDR_GET

#define GRETHGBIT_TDTBA_BASEADDR_GET (   _reg)
Value:
( ( ( _reg ) & GRETHGBIT_TDTBA_BASEADDR_MASK ) >> \
GRETHGBIT_TDTBA_BASEADDR_SHIFT )

◆ GRETHGBIT_TDTBA_BASEADDR_SET

#define GRETHGBIT_TDTBA_BASEADDR_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRETHGBIT_TDTBA_BASEADDR_MASK ) | \
( ( ( _val ) << GRETHGBIT_TDTBA_BASEADDR_SHIFT ) & \
GRETHGBIT_TDTBA_BASEADDR_MASK ) )

◆ GRETHGBIT_TDTBA_DESCPNT

#define GRETHGBIT_TDTBA_DESCPNT (   _val)
Value:
( ( ( _val ) << GRETHGBIT_TDTBA_DESCPNT_SHIFT ) & \
GRETHGBIT_TDTBA_DESCPNT_MASK )

◆ GRETHGBIT_TDTBA_DESCPNT_GET

#define GRETHGBIT_TDTBA_DESCPNT_GET (   _reg)
Value:
( ( ( _reg ) & GRETHGBIT_TDTBA_DESCPNT_MASK ) >> \
GRETHGBIT_TDTBA_DESCPNT_SHIFT )

◆ GRETHGBIT_TDTBA_DESCPNT_SET

#define GRETHGBIT_TDTBA_DESCPNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRETHGBIT_TDTBA_DESCPNT_MASK ) | \
( ( ( _val ) << GRETHGBIT_TDTBA_DESCPNT_SHIFT ) & \
GRETHGBIT_TDTBA_DESCPNT_MASK ) )