Table 10-24. Peripheral Interrupt Source Select 1 (MPISRCSEL1) Register Field Descriptions (continued)
Bits
Field
Value
Description
19-16
PERINT5SEL
Task 5 Peripheral Interrupt Input Select
0000
ADCINT5 is the input for interrupt task 5. (default)
0010
ePWM5 is the input for interrupt task 5. (EPWM5_INT)
0100
eQEP1 is the input for interrupt task 5. (EQEP1_INT)
0101
No interrupt source for task 5.
1000
eCAP1 is the input for interrupt task 5. (ECAP1_INT)
Other
No interrupt source for task 5.
15-12
PERINT4SEL
Task 4 Peripheral Interrupt Input Select
0000
ADCINT4 is the input for interrupt task 4. (default)
0010
ePWM4 is the input for interrupt task 4. (EPWM4_INT)
0100
eQEP1 is the input for interrupt task 4. (EQEP1_INT)
0101
No interrupt source for task 4.
1000
eCAP1 is the input for interrupt task 4. (ECAP1_INT)
Other
No interrupt source for task 4.
11-8
PERINT3SEL
Task 3 Peripheral Interrupt Input Select
0000
ADCINT3 is the input for interrupt task 3. (default)
0010
ePWM3 is the input for interrupt task 3. (EPWM3_INT)
xxx1
No interrupt source for task 3.
7-4
PERINT2SEL
Task 2 Peripheral Interrupt Input Select
0000
ADCINT2 is the input for interrupt task 2. (default)
0010
ePWM2 is the input for interrupt task 2. (EPWM2_INT)
xxx1
No interrupt source for task 2.
3-0
PERINT1SEL
Task 1Peripheral Interrupt Input Select
0000
ADCINT1 is the input for interrupt task 1. (default)
0010
ePWM1 is the input for interrupt task 1. (EPWM1_INT)
xxx1
No interrupt source
(1)
All values not shown are reserved.
(2)
This register is protected by EALLOW and the dual code security module.
10.7.3.4 Interrupt Flag Register (MIFR)
Each bit in the interrupt flag register corresponds to a CLA task. The corresponding bit is automatically set when
the task request is received from the peripheral interrupt. The bit can also be set by the main CPU writing to the
MIFRC register or using the IACK instruction to start the task. To use the IACK instruction to begin a task first
enable this feature in the MCTL register. If the bit is already set when a new peripheral interrupt is received, then
the corresponding overflow bit will be set in the MIOVF register.
The corresponding MIFR bit is automatically cleared when the task begins execution. This will occur if the
interrupt is enabled in the MIER register and no other higher priority task is pending. The bits can also be cleared
manually by writing to the MICLR register. Writes to the MIFR register are ignored.
Control Law Accelerator (CLA)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
715
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......