RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Trace buffer control register (CTRL)

This group contains register bit definitions. More...

Macros

#define AHBTRACE_CTRL_DCNT_SHIFT   16
 
#define AHBTRACE_CTRL_DCNT_MASK   0x7f0000U
 
#define AHBTRACE_CTRL_DCNT_GET(_reg)
 
#define AHBTRACE_CTRL_DCNT_SET(_reg, _val)
 
#define AHBTRACE_CTRL_DCNT(_val)
 
#define AHBTRACE_CTRL_PF   0x100U
 
#define AHBTRACE_CTRL_BW_SHIFT   6
 
#define AHBTRACE_CTRL_BW_MASK   0xc0U
 
#define AHBTRACE_CTRL_BW_GET(_reg)
 
#define AHBTRACE_CTRL_BW_SET(_reg, _val)
 
#define AHBTRACE_CTRL_BW(_val)
 
#define AHBTRACE_CTRL_RF   0x20U
 
#define AHBTRACE_CTRL_AF   0x10U
 
#define AHBTRACE_CTRL_FR   0x8U
 
#define AHBTRACE_CTRL_FW   0x4U
 
#define AHBTRACE_CTRL_DM   0x2U
 
#define AHBTRACE_CTRL_EN   0x1U
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ AHBTRACE_CTRL_BW

#define AHBTRACE_CTRL_BW (   _val)
Value:
( ( ( _val ) << AHBTRACE_CTRL_BW_SHIFT ) & \
AHBTRACE_CTRL_BW_MASK )

◆ AHBTRACE_CTRL_BW_GET

#define AHBTRACE_CTRL_BW_GET (   _reg)
Value:
( ( ( _reg ) & AHBTRACE_CTRL_BW_MASK ) >> \
AHBTRACE_CTRL_BW_SHIFT )

◆ AHBTRACE_CTRL_BW_SET

#define AHBTRACE_CTRL_BW_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~AHBTRACE_CTRL_BW_MASK ) | \
( ( ( _val ) << AHBTRACE_CTRL_BW_SHIFT ) & \
AHBTRACE_CTRL_BW_MASK ) )

◆ AHBTRACE_CTRL_DCNT

#define AHBTRACE_CTRL_DCNT (   _val)
Value:
( ( ( _val ) << AHBTRACE_CTRL_DCNT_SHIFT ) & \
AHBTRACE_CTRL_DCNT_MASK )

◆ AHBTRACE_CTRL_DCNT_GET

#define AHBTRACE_CTRL_DCNT_GET (   _reg)
Value:
( ( ( _reg ) & AHBTRACE_CTRL_DCNT_MASK ) >> \
AHBTRACE_CTRL_DCNT_SHIFT )

◆ AHBTRACE_CTRL_DCNT_SET

#define AHBTRACE_CTRL_DCNT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~AHBTRACE_CTRL_DCNT_MASK ) | \
( ( ( _val ) << AHBTRACE_CTRL_DCNT_SHIFT ) & \
AHBTRACE_CTRL_DCNT_MASK ) )