11.8.26 Counter Control Register 1

The TRCCNTCTLR1 controls the counter.

Usage constraints
Can only be written when the Cortex®‑R8 processor ETM is disabled.
Configurations
Available in all configurations.
Attributes

Register number: 85

Base offset 0x154

Name: TRCCNTCTLR1

Type: RW

Reset: -

The following figure shows the TRCCNTCTLR1 bit assignments.

Figure 11-30 TRCCNTCTLR1 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.


The following table shows the TRCCNTCTLR1 bit assignments.

Table 11-42 TRCCNTCTLR1 bit assignments

Bits Name Function
[31:18] - Reserved. RAZ/WI.
[17] CNTCHAIN

Defines whether counter1 decrements when counter0 reloads. This enables two counters to be used in combination to provide a larger counter:

0b0Counter0 operates independently of counter1. The counter only decrements based on CNTTYPE and CNTSEL.
0b1Counter1 decrements when counter0 reloads. The counter also decrements when the resource selected by CNTTYPE and CNTSEL is active.
[16] RLDSELF

Defines whether the counter reloads when it reaches zero:

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

Selects the resource type for the reload:

0b0Single selected resource.
0b1Boolean combined resource pair.
[14:12] - Reserved. RAZ/WI.
[11:8] RLDSEL

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

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

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

[7] CNTTYPE

Selects the resource type for the counter:

0b0Single selected resource.
0b1Boolean combined resource pair.
[6:4] - Reserved. RAZ/WI.
[3:0] CNTSEL

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

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

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

Non-ConfidentialPDF file icon PDF versionARM 100400_0001_03_en
Copyright © 2015–2017 ARM Limited or its affiliates. All rights reserved.