RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
DSU trap register (DTR)

This group contains register bit definitions. More...

Macros

#define DSU4_DTR_EM   0x1000U
 
#define DSU4_DTR_TRAPTYPE_SHIFT   4
 
#define DSU4_DTR_TRAPTYPE_MASK   0xff0U
 
#define DSU4_DTR_TRAPTYPE_GET(_reg)
 
#define DSU4_DTR_TRAPTYPE_SET(_reg, _val)
 
#define DSU4_DTR_TRAPTYPE(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ DSU4_DTR_TRAPTYPE

#define DSU4_DTR_TRAPTYPE (   _val)
Value:
( ( ( _val ) << DSU4_DTR_TRAPTYPE_SHIFT ) & \
DSU4_DTR_TRAPTYPE_MASK )

◆ DSU4_DTR_TRAPTYPE_GET

#define DSU4_DTR_TRAPTYPE_GET (   _reg)
Value:
( ( ( _reg ) & DSU4_DTR_TRAPTYPE_MASK ) >> \
DSU4_DTR_TRAPTYPE_SHIFT )

◆ DSU4_DTR_TRAPTYPE_SET

#define DSU4_DTR_TRAPTYPE_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~DSU4_DTR_TRAPTYPE_MASK ) | \
( ( ( _val ) << DSU4_DTR_TRAPTYPE_SHIFT ) & \
DSU4_DTR_TRAPTYPE_MASK ) )