You copied the Doc URL to your clipboard.

Event Control 0 Register

The TRCEVENTCTL0R characteristics are:

Purpose

Controls the tracing of events in the trace stream. The events also drive the external outputs from the ETM trace unit. The events are selected from the Resource Selectors.

Usage constraints
  • You must always program this register as part of trace unit initialization.

  • Accepts writes only when the trace unit is disabled.

Configurations

Available in all configurations.

Attributes

See the register summary in Table 13.3.

Figure 13.8 shows the TRCEVENTCTL0R bit assignments.

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


Table 13.9 shows the TRCEVENTCTL0R bit assignments.

Table 13.9. TRCEVENTCTL0R bit assignments
Bits Name Function
[31] TYPE3

Selects the resource type for trace event 3:

0

Single selected resource.

1

Boolean combined resource pair.

[30:28] - Reserved, res0.
[27:24] SEL3

Selects the resource number, based on the value of TYPE3:

When TYPE3 is 0, selects a single selected resource from 0-15 defined by bits[3:0].

When TYPE3 is 1, selects a Boolean combined resource pair from 0-7 defined by bits[2:0].

[23] TYPE2

Selects the resource type for trace event 2:

0

Single selected resource.

1

Boolean combined resource pair.

[22:20] - Reserved, res0.
[19:16] SEL2

Selects the resource number, based on the value of TYPE2:

When TYPE2 is 0, selects a single selected resource from 0-15 defined by bits[3:0].

When TYPE2 is 1, selects a Boolean combined resource pair from 0-7 defined by bits[2:0].

[15] TYPE1

Selects the resource type for trace event 1:

0

Single selected resource.

1

Boolean combined resource pair.

[14:12] - Reserved, res0.
[11:8] SEL1

Selects the resource number, based on the value of TYPE1:

When TYPE1 is 0, selects a single selected resource from 0-15 defined by bits[3:0].

When TYPE1 is 1, selects a Boolean combined resource pair from 0-7 defined by bits[2:0].

[7] TYPE0

Selects the resource type for trace event 0:

0

Single selected resource.

1

Boolean combined resource pair.

[6:4] - Reserved, res0.
[3:0] SEL0

Selects the resource number, based on the value of TYPE0:

When TYPE0 is 0, selects a single selected resource from 0-15 defined by bits[3:0].

When TYPE0 is 1, selects a Boolean combined resource pair from 0-7 defined by bits[2:0].


The TRCEVENTCTL0R can be accessed through the internal memory-mapped interface and the external debug interface, offset 0x020.

Was this page helpful? Yes No