3.16.16. Counter Enable Event Registers, ETMCNTENRn

The ETMCNTENR characteristics are:

Purpose

An ETMCNTENR:

  • defines the event that enables the corresponding counter

  • can be used to configure the counter for continuous operation.

Usage constraints

Each ETMCNTENR is used with a corresponding ETMCNTRLDVR, ETMCNTRLDEVR, and ETMCNTVR. See About the counter registers.

Configurations

The number of ETMCNTENRs:

  • is implementation defined

  • is specified by ETMCCR bits [15:13]

  • can be zero.

See Configuration Code Register, ETMCCR.

Unimplemented ETMCNTENRs are RAZ/WI.

Attributes

See the register summary in Table 3.16.

Figure 3.25 shows the ETMCNTENR bit assignments.

Figure 3.25. ETMCNTENR 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 3.32 shows the ETMCNTENR bit assignments.

Table 3.32. ETMCNTENR bit assignments

Bits

Description

[31:18]Reserved, SBZP.

[17]

Reserved, RAO/WI.

Note

This bit is RAO/WI for consistency with previous ARM trace architectures.

[16:0]

Count enable event. Subdivided as:

Function, bits [16:14]

Specifies the logical operation that combines the two resources that define the event.

Resource B, bits [13:7] and Resource A, bits [6:0]

Specify the two resources that are combined by the logical operation specified by the Function field.

For more information see Event resources and PTM events.

To configure a continuous counter, program the function field as b000, to select Resource A, and the Resource A field to select the always TRUE resource. See The PTM event resources.


Each of the Counter Enable Event Registers has the same bit assignments.

Defining a PTM event describes how you define a counter enable event.

Copyright © 1999-2002, 2004-2008, 2011 ARM. All rights reserved.ARM IHI 0035B
Non-ConfidentialID060811