EasyManuals Logo

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #244 background imageLoading...
Page #244 background image
Control Law Accelerator (CLA)
10 - 8 C2000 Microcontroller Workshop - Control Law Accelerator
CLA Peripheral Interrupt Source
Select 1 Register
Cla1Regs.MPISRCSEL1
PERINT4SEL
15 - 12 3 - 0
PERINT3SEL PERINT2SEL PERINT1SEL
11 - 8 7 - 4
0000 = DefaultNote: select ‘no source’ if task is generated by software
Lower Register:
Task 4 Peripheral
Interrupt Input
0000 = ADCINT4
0010 = ePWM4
0100 = eQEP1
0101 = eQEP2
1000 = eCAP1
1001 = eCAP2
1010 = eCAP3
other = no source
Task 3 Peripheral
Interrupt Input
0000 = ADCINT3
0010 = ePWM3
xxx1 = no source
Task 2 Peripheral
Interrupt Input
0000 = ADCINT2
0010 = ePWM2
xxx1 = no source
Task 1 Peripheral
Interrupt Input
0000 = ADCINT1
0010 = ePWM1
xxx1 = no source
CLA Interrupt Enable Register
Cla1Regs.MIER
INT2INT3INT4INT5INT6INT7INT8 INT1
0123456715 - 8
reserved
#include “F2806x_Device.h”
Cla1Regs.MIER.bit.INT2 = 1; //enable Task 2 interrupt
Cla1Regs.MIER.all = 0x0028; //enable Task 6 and 4 interrupts
0 = task interrupt disable (default)
1 = task interrupt enable

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C2000 and is the answer not in the manual?

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals