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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

The contents of the PMINTENSET Register are UNKNOWN on a core logic reset. To avoid spurious<br />

interrupts being generated, software must set the interrupt enable values before enabling any of the counters.<br />

Interrupts are not signaled if the PMCR.E Enable bit is set to 0.<br />

When an interrupt is signaled, it can be removed by clearing the overflow flag for the counter in the<br />

PMOVSR Register, see c9, Overflow Flag Status Register (PMOVSR) on page C10-110.<br />

Note<br />

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

<strong>ARM</strong> expects that the interrupt request that can be generated on a counter overflow is also exported from<br />

the processor, meaning it can be factored into a system interrupt controller if applicable. This means that<br />

normally the system will have more levels of control of the interrupt generated.<br />

C10.9.12 c9, Interrupt Enable Clear Register (PMINTENCLR)<br />

Value Meaning on read Action on write<br />

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

1 Interrupt enabled Enable interrupt<br />

The Interrupt Enable Clear Register, PMINTENCLR, disables the generation of interrupt requests on<br />

overflows from:<br />

the Cycle Count Register, PMCCNTR<br />

each implemented event counter, PMNx.<br />

Reading the PMINTENCLR Register shows which overflow interrupts are enabled. Counter overflow<br />

interrupts must be enabled using the PMINTENSET Register, see c9, Interrupt Enable Set Register<br />

(PMINTENSET) on page C10-118.<br />

The PMINTENCLR Register is:<br />

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

— reading the register shows which overflow interrupts are enabled<br />

— writing a 1 to a bit of the register disables the corresponding overflow interrupt<br />

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

Accessible only in privileged modes.<br />

The instructions that access the PMINTENCLR Register are always UNDEFINED in User mode, even<br />

if the PMUSERENR.EN flag is set to 1, see c9, User Enable Register (PMUSERENR) on<br />

page C10-117.<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 c14, <strong>and</strong><br />

set to 2.<br />

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

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

Saved successfully!

Ooh no, something went wrong!