



INTERRUPTS IN C ON THE TMS320C3XWriting interrupt routines in C is straightforward as long as you follow the simple rules set out in this note. There are several parts to the problem: (1) writing the ISR, (2) initializing the interrupt vector table, and (3) linking the parts together in the linker command file. You must make sure to generate the interrupt vector table and to provide the linker with all the necessary information to link the ISRs, vector table, and section names into the correct locations.
Clearly there are variations on this theme. Some ISRs can be written in C and some in assembly so long as the naming conventions and vector tables are followed and initialized.
View the complete PDF document: spra227.pdf (27 K Bytes) (Requires Acrobat Reader 3.x) Go to the Engineering Design Center to locate information on other TI Semiconductor devices.
![]() ![]() ![]() ![]() (c) Copyright 1998 Texas Instruments Incorporated. All rights reserved. Trademarks, Important Notice! |