Events and Performance Monitor

Note

For more information on access permissions to the performance monitor registers and validation registers, see the ARM Architecture Reference Manual.

To access the USEREN Register, read or write CP15 with:

MRC p15, 0, <Rd>, c9, c14, 0 ; Read USEREN Register

MCR p15, 0, <Rd>, c9, c14, 0 ; Write USEREN Register

6.3.11c9, Interrupt Enable Set Register

The INTerrupt ENable Set (INTENS) Register determines if any of the PMC Registers,

PMC0-PMC2 and CCNT, generate an interrupt request on overflow.

The INTENS Register is:

a read/write register

accessible in Privileged mode only.

Reading this register returns the current setting. Writing to this register can enable interrupts. You can disable interrupts only by writing to the INTENC Register.

Figure 6-9shows the bit arrangement for the INTENS Register.

31

C

3 2 1 0

Reserved

Cycle count overflow interrupt enable

P2

Performance monitor counter

overflow interrupt enables

P1

P0

Figure 6-9 INTENS Register format

Table 6-10shows how the bit values correspond with the INTENS Register.

Table 6-10 INTENS Register bit functions

Bits

Field

Function

 

 

 

[31]

C

CCNT overflow interrupt enable

 

 

 

[30:3]

Reserved

UNP on reads, SBZP on write

 

 

 

[2]

P2

PMC2 overflow interrupt enable

 

 

 

[1]

P1

PMC1 overflow interrupt enable

 

 

 

[0]

P0

PMC0 overflow interrupt enable

 

 

 

When reading bits [31], [2], [1], and [0] of the INTENS Register:

0 = interrupt disabled

1 = interrupt enabled.

When writing to bits [31], [2], [1], and [0] of the INTENS Register:

0 = no action

1 = interrupt enabled.

To access the Interrupt Enable Set Register, read or write CP15 with:

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

6-16

ID013010

Non-Confidential, Unrestricted Access

 

Page 180
Image 180
ARM R4F, r1p3 manual 11 c9, Interrupt Enable Set Register, Intens Register bit functions Bits Field Function