05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Debug Registers <strong>Reference</strong><br />

Bits [30:N] RAZ/WI.<br />

Px, bit [x], for x = 0 to (N-1)<br />

Event counter x, PMNx, disable bit.<br />

Table C10-26 shows the behavior of this bit on reads <strong>and</strong> writes.<br />

The contents of the PMCNTENCLR Register are UNKNOWN on a core logic reset.<br />

Note<br />

Table C10-26 Read <strong>and</strong> write bit values for the PMCNTENCLR Register<br />

The PMCR.E Enable bit can be used to override the settings in this register <strong>and</strong> disable all counters including<br />

PMCCNTR, see c9, Performance Monitor Control Register (PMCR) on page C10-105. The counter enable<br />

register retains its value when the Enable bit is 0, even though its settings are ignored.<br />

C10.9.4 c9, Overflow Flag Status Register (PMOVSR)<br />

The Overflow Flag Status Register, PMOVSR, holds the state of the overflow flags for:<br />

the Cycle Count Register, PMCCNTR<br />

each of the implemented event counters, PMNx.<br />

To clear those flags you must write to the PMOVSR.<br />

Value Meaning on read Action on write<br />

0 Counter disabled No action, write is ignored<br />

1 Counter enabled Disable counter<br />

The PMOVSR is:<br />

a 32-bit read/write CP15 register:<br />

— reading the register shows the state of the overflow flags<br />

— writing a 1 to a bit of the register clears the corresponding flag<br />

— writing a 0 to a bit of the register has no effect<br />

accessible in:<br />

— privileged modes<br />

— User mode only when the PMUSERENR.EN bit is set to 1<br />

when the Security Extensions are implemented, a Common register<br />

accessed using an MRC or MCR comm<strong>and</strong> with set to c9, set to 0, set to c12, <strong>and</strong><br />

set to 3.<br />

C10-110 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!