i am using the codewarrior c-compiler.
in the headerfile (mc9s12xdt512.h) i saw:
/**************** interrupt vector table ****************/
#define Vswi 0x0000FFF6
//---------------------------------------------------------------
//my code:
#pragma CODE_SEG __NEAR_SEG NON_BANKED /* Interrupt section for this module.
interrupt void Vswi(void)
{
// ...code...
}
#pragma CODE_SEG DEFAULT
how should i enable swi interrupt by using -> EnableInterrupts?
and how could i set and clear the swi interrupt?
bye