www.ti.com
7.7
PSC Registers
PSC Registers
The ARM enters the interrupt service routine (ISR) when it receives the interrupt.
1. Read the Px bit in PERRPR, the Mx bit in MERRPR0, the Mx bit in MERRPR1, and / or the EP bit in
EPCPR to determine the source of the interrupt(s).
2. For each active event that you want to service:
•
Read the event status bits in PDSTATx and MDSTAT[x], depending on the status bits read in the
previous step to determine the event that caused the interrupt.
•
Service the interrupt as required by your application
•
Write the Mx bit in MERRCRx, the Mx bit in PERRCRx, and the EPx bit in EPCCR to clear
corresponding status.
•
Set the ALLEV bit in INTEVAL. Setting this bit reasserts the PSCINT to the ARM’s interrupt
controller, if there are still any active interrupt events.
lists the memory-mapped registers for the PSC. See the device memory map
for the
memory address of these registers. The default, after reset, PSC configurations are shown in
.
Note:
You must not read or write reserved PSC register fields. In particular, registers associated
with module 39 are reserved and must not be read or written.
Table 7-5. PSC Registers
Offset
Register
Description
Section
0h
PID
Peripheral Revision and Class Information
18h
INTEVAL
Interrupt Evaluation Register
40h
MERRPR0
Module Error Pending Register 0
44h
MERRPR1
Module Error Pending Register 1
50h
MERRCR0
Module Error Clear Register 0
54h
MERRCR1
Module Error Clear Register 1
60h
PERRPR
Power Error Pending Register
68h
PERRCR
Power Error Clear Register
70h
EPCPR
External Power Error Pending Register
78h
EPCCR
External Power Control Clear Register
120h
PTCMD
Power Domain Transition Command Register
128h
PTSTAT
Power Domain Transition Status Register
200h
PDSTAT[1]
Power Domain Status Register
300h
PDCTL[1]
Power Domain Control Register
800h
MDSTAT[42]
Module Status Registers
A00h
MDCTL[42]
Module Control Registers
Note:
After reset default PSC configurations are shown in
.
SPRUFB3 – September 2007
Power and Sleep Controller
71