EasyManuals Logo

Texas Instruments C28 Series Student Guide

Texas Instruments C28 Series
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 #72 background imageLoading...
Page #72 background image
Interrupt Sources
Interrupt Flag Register (IFR)
Interrupt Flag Register (IFR)
RTOSINT
RTOSINT
DLOGINT
DLOGINT
INT14
INT14
INT13
INT13
INT12
INT12
INT11
INT11
INT10
INT10
INT9
INT9
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
INT8
INT8
INT7
INT7
INT6
INT6
INT5
INT5
INT4
INT4
INT3
INT3
INT2
INT2
INT1
INT1
0
0
1
1
2
2
3
34
4
5
5
6
6
7
7
Pending :
Pending :
IFR
IFR
Bit
Bit
= 1
= 1
Absent :
Absent :
IFR
IFR
Bit
Bit
= 0
= 0
Compiler generates atomic instructions (non
Compiler generates atomic instructions (non
-
-
interruptible) for setting/clearing IFR
interruptible) for setting/clearing IFR
If interrupt occurs when writing IFR, interrupt has priority
If interrupt occurs when writing IFR, interrupt has priority
IFR(bit) cleared when interrupt is acknowledged by CPU
IFR(bit) cleared when interrupt is acknowledged by CPU
Register cleared on reset
Register cleared on reset
/*** Manual setting/clearing IFR ***/
/*** Manual setting/clearing IFR ***/
extern
extern
cregister
cregister
volatile unsigned
volatile unsigned
int
int
IFR;
IFR;
IFR |= 0x0008;
IFR |= 0x0008;
//set INT4 in IFR
//set INT4 in IFR
IFR &= 0xFFF7;
IFR &= 0xFFF7;
//clear INT4 in IFR
//clear INT4 in IFR
Interrupt Enable Register (IER)
Interrupt Enable Register (IER)
RTOSINT
RTOSINT
DLOGINT
DLOGINT
INT14
INT14
INT13
INT13
INT12
INT12
INT11
INT11
INT10
INT10
INT9
INT9
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
INT8
INT8
INT7
INT7
INT6
INT6
INT5
INT5
INT4
INT4
INT3
INT3
INT2
INT2
INT1
INT1
0
0
1
1
2
2
3
34
4
5
5
6
6
7
7
Enable: Set IER
Enable: Set IER
Bit
Bit
= 1
= 1
Disable: Clear IER
Disable: Clear IER
Bit
Bit
= 0
= 0
Compiler generates atomic instructions (non
Compiler generates atomic instructions (non
-
-
interruptible)
interruptible)
for setting/clearing IER
for setting/clearing IER
Register cleared on reset
Register cleared on reset
/*** Interrupt Enable Register ***/
/*** Interrupt Enable Register ***/
extern
extern
cregister
cregister
volatile unsigned
volatile unsigned
int
int
IER;
IER;
IER |= 0x0008;
IER |= 0x0008;
//enable INT4 in IER
//enable INT4 in IER
IER &= 0xFFF7;
IER &= 0xFFF7;
//disable INT4 in IER
//disable INT4 in IER
4 - 8 C28x - Reset and Interrupts

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals