![Texas Instruments AM1808 Скачать руководство пользователя страница 350](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558350.webp)
Registers
350
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
Table 13-32. Subsystem Global Memory Map (continued)
Start Address
End Address
Region
0x01C3D000
0x01C3FFFF
Reserved
Each of the PRUs can access the rest of the device memory (including memory mapped peripheral and
configuration registers) using the global memory space addresses. Please refer to the device's System
Reference Guide or datasheet for device specific memory mapping.
13.8.1.3 PRU Memory Map Overview
The PRU control and status registers region contains control and status registers for the PRU. The control
/ status registers region memory map is shown in
.
Table 13-33. PRU Control/Status Register Memory Map
Address Offset
Register Name
Register Description
0h
CONTROL
PRU Control Register
4h
STATUS
PRU Status Register
8h
WAKEUP
PRU Wakeup Enable Register
Ch
CYCLECNT
PRU Cycle Count
10h
STALLCNT
PRU Stall Count
20h
CONTABBLKIDX0
PRU Constant Table Block Index Register 0
28h
CONTABPROPTR0
PRU Constant Table Programmable Pointer Register 0
2Ch
CONTABPROPTR1
PRU Constant Table Programmable Pointer Register 1
400h to 47Ch
INTGPR0 to INTGPR31
PRU Internal General Purpose Registers (for Debug)
480h to 4FCh
INTCTER0 to INTCTER31
PRU Internal Constants Table Entry Registers (for Debug)
13.8.1.3.1 CONTROL Register (Offset = 0h)
Figure 13-24. CONTROL Register
31
16
PCRESETVAL
R/W-0
15
14
9
8
7
4
3
2
1
0
RUNS
TATE
RESERVED
SINGL
ESTE
P
RESERVED
COUN
TENA
BLE
SLEE
PING
ENAB
LE
SOFT
RESE
T
R/W-0
R-0
R/W-0
R-0
R/W-0
R/W-0
R/W-0
R-0
→
1
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 13-34. CONTROL Register Field Descriptions
Bit
Field
Type
Reset
Description
31-16
PCRESETVA
L
R/W
0
Program Counter Reset Value: This field controls the address where the
PRU will start executing code from after it is taken out of reset*
15
RUNSTATE
R
0
Run State: This bit indicates whether the PRU is currently executing an
instruction or is halted.
0 = PRU is halted and host has access to the instruction RAM and debug
registers regions.
1 = PRU is currently running and the host is locked out of the instruction
RAM and debug registers regions This bit is used by an external debug agent
to know when the PRU has actually halted when waiting for a HALT
instruction to execute, a single step to finish, or any other time when the
pru_enable has been cleared.