Hello, I am working on a project related to ST10 microcontroller. Can anybody help me to tell about how to set Interrupt service routines to the corresponding interrupts? My s/w tool is C166 compiler.
There are two formats for an ISR declaration:
1) void ISR_Fcn( void ) interrupt INT# {} 2) void ISR_Fcn( void ) interrupt INT# using isr_Rbank {}
#define CC28INT 0x3C // number from ST10 data book void ISR_Fcn( void ) interrupt CC28INT using isr_Rbank { input_Count++; ... }