Interrupts And Interrupt Service Routines; Appconfig.h File - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

Developing Software
4.4

Interrupts and Interrupt Service Routines

Handling interrupts using the DSP56800E_Quick_Start is described in detail in Section 2.5. This
section contains also a practical guide on how to write a user interrupt service routine.

appconfig.h file

4.5
The appconfig.h (see the full listing in Example 4-3) include file is the application specific
configuration file. It is used to define configuration items and the addresses of the user interrupt
service routines (ISRs). The defined configuration items are then used by the ioctl() commands
xx_INIT to initialize statically the xx peripheral module (e.g. OCCS_INIT to initialize On-chip
Clock Synthesis module, QT_INIT to initialize quad timer/counter, etc.). The defined addresses
of ISRs are used to install the ISR into the desired interrupt vector, at compilation time.
See Section 4.2 to find out how to initialize on-chip peripheral modules using the appconfig.h file
and the respective ioctl xx_INIT command.
See Section 2.5.2, "Configuring Interrupts," for information on installing ISRs and defining the
interrupt priorities through the appconfig.h file.
4-6
Targeting 56F8xxx Platform
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents