EasyManuals Logo

Texas Instruments TMS320C28x User Manual

Texas Instruments TMS320C28x
695 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 #624 background imageLoading...
Page #624 background image
Code Examples
Table D3. Code to Enable an Interrupt
C2xLP C28x
SETC INTM
LDP #0
LACL IMR
OR #INTx
SACL IMR
CLRC INTM
OR IER,#INTx
;operation is atomic and
;will not be interrupted.
Table D4. Code to Clear the IFR Register
C2xLP C28x
;write 1 to clear
SETC INTM
LDP #0
SPLK #0FFFFh,IFR
CLRC INTM
;write 0 to clear
AND IFR,#~INTx
;operation is atomic and
;will not be interrupted
D.4.3 Context Save/Restore
The C28x automatically saves a number of registers on each interrupt. To per-
form a full context save, some additional code must be added. Table D5
shows a typical full context save and restore for both processors.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TMS320C28x Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320C28x
CategoryProcessor
LanguageEnglish

Related product manuals