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 #328 background imageLoading...
Page #328 background image
Accessing Interrupts / Status Register
Accessing Interrupts / Status Register
Accessing Interrupts / Status Register
Accessing Interrupts / Status Register
Initialize via C :
Initialize via C :
extern
extern
cregister
cregister
volatile unsigned
volatile unsigned
int
int
IFR;
IFR;
extern
extern
cregister
cregister
volatile unsigned
volatile unsigned
int
int
IER;
IER;
. . .
. . .
IER &= ~Mask;
IER &= ~Mask;
//clear desired bits
//clear desired bits
IER |= Mask;
IER |= Mask;
//set desired bits
//set desired bits
IFR = 0x0000;
IFR = 0x0000;
//clear prior interrupts
//clear prior interrupts
Interrupt Enable & Interrupt Flag Registers (IER, IFR) are not
Interrupt Enable & Interrupt Flag Registers (IER, IFR) are not
memory mapped
memory mapped
Only limited instructions can access IER & IFR (more in interrup
Only limited instructions can access IER & IFR (more in interrup
t
t
chapter)
chapter)
The compiler provides extern variables for accessing the IER & I
The compiler provides extern variables for accessing the IER & I
FR
FR
D- 6 C28x – C Programming

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