C10.22 Counter Control Register 0

The TRCCNTCTLR0 characteristics are:

Purpose
Controls the counter.
Usage constraints
Accepts writes only when the trace unit is disabled.
Configurations
Available in all configurations.
Attributes
See C10.1 ETM register summary.
Figure C10-21 TRCCNTCTLR0 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.


[31:17]
Reserved, res0.
RLDSELF, [16]

Defines whether the counter reloads when it reaches zero:

0The counter does not reload when it reaches zero. The counter only reloads based on RLDTYPE and RLDSEL.
1The counter reloads when it reaches zero and the resource selected by CNTTYPE and CNTSEL is also active. The counter also reloads based on RLDTYPE and RLDSEL.
RLDTYPE, [15]

Selects the resource type for the reload:

0Single selected resource.
1Boolean combined resource pair.
[14:12]
Reserved, res0.
RLDSEL, [11:8]

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

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

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

CNTTYPE, [7]

Selects the resource type for the counter:

0Single selected resource.
1Boolean combined resource pair.
[6:4]
Reserved, res0.
CNTSEL, [3:0]

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

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

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

The TRCCNTCTLR0 can be accessed through the external debug interface, offset 0x150.

Non-ConfidentialPDF file icon PDF versionARM 100241_0001_00_en
Copyright © 2016, 2017 ARM Limited or its affiliates. All rights reserved.