OpenCSD - CoreSight Trace Decode Library
1.3.3
|
STM hardware configuration data. More...
#include <trc_cmp_cfg_stm.h>
Public Member Functions | |
~STMConfig () | |
operator const ocsd_stm_cfg & () const | |
cast operator returning struct const reference More... | |
operator const ocsd_stm_cfg * () const | |
cast operator returning struct const pointer More... | |
STM configuration | |
STMConfig () | |
Constructor - creates a default configuration. More... | |
STMConfig (const ocsd_stm_cfg *cfg_regs) | |
STMConfig & | operator= (const ocsd_stm_cfg *p_cfg) |
void | setTraceID (const uint8_t traceID) |
Set the CoreSight trace ID. More... | |
void | setHWTraceFeat (const hw_event_feat_t hw_feat) |
set usage of STM HW event trace. More... | |
virtual const uint8_t | getTraceID () const |
Get the CoreSight trace ID. More... | |
const uint8_t | getMaxMasterIdx () const |
Get the maximum master index. More... | |
const uint16_t | getMaxChannelIdx () const |
Get the maximum channel index. More... | |
const uint16_t | getHWTraceMasterIdx () const |
Get the master used for HW event trace. More... | |
bool | getHWTraceEn () const |
return true if HW trace is present and enabled. More... | |
![]() | |
CSConfig () | |
virtual | ~CSConfig () |
STM hardware configuration data.
Represents the programmed and hardware configured state of an STM device. Creates default values for most RO register values to effect a default STM with values of 256 masters, 65536 channels, HW event trace not present / disabled.
If this default is sufficient a single call to setTraceID() will be all that is required to decode the STM protocol.
Can also be initialised with a fully populated ocsd_stm_cfg structure.
Definition at line 60 of file trc_cmp_cfg_stm.h.
|
inline |
Definition at line 65 of file trc_cmp_cfg_stm.h.
|
inline |
cast operator returning struct const reference
Definition at line 71 of file trc_cmp_cfg_stm.h.
|
inline |
cast operator returning struct const pointer
Definition at line 73 of file trc_cmp_cfg_stm.h.