| |||
| Home > Programmers Model > Performance Monitoring registers > Performance Monitor Counter Enable Set and Clear registers | |||
The Performance Monitor Counter Enable Set and Clear registers characteristics are:
The Performance Monitor Counter Enable Set Register, PMCNTENSET is used to set the bits from the Counter Enable Register, CNTENR.
The Performance Monitor Counter Enable Clear Register, PMCNTENCLR is used to clear the bits, to read the value of the Counter Enable Register, CNTENR.
CNTENR is a 3-bit register. See Performance Monitor Control Register .
CNTENR is UNKNOWN on reset.
Figure 3.18 shows the Performance Monitor Counter Enable Set and Clear registers bit assignments.
Table 3.26 shows the Performance Monitor Counter Enable Set and Clear registers bit assignments.
Table 3.26. Performance Monitor Counter Enable Set and Clear registers bit assignments
| Bits | Name | Reset value | Description |
|---|---|---|---|
| [31:3] | RESERVED | - | UNK/SBZP. |
| [2:0] | Event Counter EVCNTRq where q= overflow | 0 | Counter enable bit CNTENR[q], q refers to Event counter register EVCNTRq. On reads, each counter enable bit returns the corresponding bit of CNTENR, whether read through PMCNTENSET, or PMCNTENCLR. The action on writes depends on the register written through. |
Table 3.27 shows the read and write bit values for the PMCNTEN0 registers.
Table 3.27. Read and write bit values for the PMCNTENn registers
| Value | Meaning on reads | Register | Description |
|---|---|---|---|
| 0 | Counter is disabled | - | No action, write is ignored. |
| 1 | Counter is enabled | PMCNTENSET0 | Enable counter. Set CNTENR bit to one. |
| PMCNTENCLR0 | Disable counter. Set CNTENR bit to zero. |