Embedded Trace Macrocell
ARM DDI 0500D Copyright © 2013-2014 ARM. All rights reserved. 13-19
ID021414 Non-Confidential
Table 13-9 shows the TRCEVENTCTL0R bit assignments.
The TRCEVENTCTL0R can be accessed through the internal memory-mapped interface and
the external debug interface, offset
0x020
.
13.8.7 Event Control 1 Register
The TRCEVENTCTL1R characteristics are:
Purpose Controls the behavior of the events that TRCEVENTCTL0R selects
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.
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].