Registers
352
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
13.8.1.3.2 STATUS Register (Offset = 4h)
Figure 13-25. STATUS Register
31
16 15
0
RESERVED
PCOUNTER
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
(1)
Note that the PC is an instruction address where each instruction is a 32 bit word. This is not a byte address and to compute the byte
address just multiply the PC by 4 (PC of 2 = byte address of 0x8, or PC of 8 = byte address of 0x20).
Table 13-35. STATUS Register Field Descriptions
Bit
Field
Type
Reset
Description
31-16
RESERVED
R
0
15-0
PCOUNTER
R
0
Program Counter: This field is a registered (1 cycle delayed) reflection of the
PRU program counter
(1)
13.8.1.3.3 WAKEUP Register (Offset = 8h)
31
0
BITWISEENABLES
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Figure 13-26. WAKEUP Register
31
0
BITWISEENABLES
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 13-36. WAKEUP Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
BITWISEENA
BLES
R/W
0
Wakeup Enables: This field is ANDed with the incoming R31 status inputs
(whose bit positions were specified in the stmap parameter) to produce a
vector which is unary ORed to produce the status_wakeup source for the
core. Setting any bit in this vector will allow the corresponding status input to
wake up the core when it is asserted high. The PRU should set this enable
vector prior to executing a SLP (sleep) instruction to ensure that the desired
sources can wake up the core.
13.8.1.3.4 CYCLECNT Register (Offset = Ch)
This register counts the number of cycles for which the PRU has been enabled.
Figure 13-27. CYCLECNT Register
31
0
CYCLECOUNT
R/WC-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset