Hello,
I work on The S12xDP512 and my interrup are manage by the CPU.
But now i want to use the xgate for manage it.
I don't understand how one passes the Cpu at the Xgate for manage the interrupt.
It's my program with interrup manage by CPU (jus the define of interrup):
#ifndef __SMALL__
#pragma CODE_SEG __NEAR_SEG NON_BANKED
#endif
interrupt 23 analog(void)
{
calcul_moy(); //call calcu_moy
comparison(); //call comparison
ATD1CTL2=0x00;
init_analog();
}
If i want to use the Xgate in the place to Cpu what must i make??
Thanx for you help