10.7.3.10 Interrupt Run Status Register (MIRUN)
The interrupt run status register (MIRUN) indicates which task is currently executing. Only one MIRUN bit will
ever be set to a 1 at any given time. The bit is automatically cleared when the task competes and the respective
interrupt is fed to the peripheral interrupt expansion (PIE) block of the device. This lets the main CPU know when
a task has completed. The main CPU can stop a currently running task by writing to the MCTL[SOFTRESET] bit.
This will clear the MIRUN flag and stop the task. In this case no interrupt will be generated to the PIE.
Figure 10-12. Interrupt Run Status Register (MIRUN)
15
8
Reserved
R -0
7
6
5
4
3
2
1
0
INT8
INT7
INT6
INT5
INT4
INT3
INT2
INT1
R-0
R-0
R-0
R-0
R-0
R-0
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 10-31. Interrupt Run Status Register (MIRUN) Field Descriptions
Bits
Name
Value
Description
15-8
Reserved
Any writes to these bit(s) must always have a value of 0.
7
INT8
Task 8 Run Status
0
Task 8 is not executing. (default)
1
Task 8 is executing.
6
INT7
Task 7 Run Status
0
Task 7 is not executing. (default)
1
Task 7 is executing.
5
INT6
Task 6 Run Status
0
Task 6 is not executing. (default)
1
Task 6 is executing.
4
INT5
Task 5 Run Status
0
Task 5 is not executing. (default)
1
Task 5 is executing.
3
INT4
Task 4 Run Status
0
Task 4 is not executing. (default)
1
Task 4 is executing.
2
INT3
Task 3 Run Status
0
Task 3 is not executing. (default)
1
Task 3 is executing.
1
INT2
Task 2 Run Status
0
Task 2 is not executing. (default)
1
Task 2 is executing.
0
INT1
Task 1 Run Status
0
Task 1 is not executing. (default)
1
Task 1 is executing.
(1)
This register is protected by the dual code security module.
Control Law Accelerator (CLA)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
723
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......