You copied the Doc URL to your clipboard.

13.8.23. Counter Value Registers 0-1

The TRCCNTVRn characteristics are:

Purpose

Contains the current counter value.

Usage constraints
  • Can be written only when the ETM trace unit is disabled.

  • The count value is stable only when TRCSTATR.PMSTABLE==1.

  • If software uses counter <n>, then it must write to this register to set the initial counter value.

Configurations

Available in all configurations.

Attributes

See the register summary in Table 13.3.

Figure 13.25 shows the TRCCNTVRn bit assignments.

Figure 13.25. TRCCNTVRn bit assignments

Figure 13.25. TRCCNTVRn bit assignments

Table 13.26 shows the TRCCNTVRn bit assignments.

Table 13.26. TRCCNTVRn bit assignments
BitsValueFunction
[31:16]-Reserved, res0.
[15:0]VALUE Contains the current counter value.

The TRCCNTVRn registers can be accessed through the external debug interface, offsets:

TRCCNTVR0

0x160.

TRCCNTVR1

0x164.

Was this page helpful? Yes No