how can I do it?I have made some process,but it can't go to the interrupt process.Such as:
#pragma LINK_INFO DERIVATIVE "SampleS12"
#pragma CODE_SEG DEFAULT
void TIM_Init(void)
{
TIOS_IOS0 = 0;
TFLG1 = 1;
TIE_C0I =1;
TCTL4_EDG0A = 1;
TCTL4_EDG0B = 0;
ICOVW_NOVW0 = 1;
ICSYS_BUFEN = 1;
ICSYS_LATQ = 0;
ICSYS_TFMOD = 1;
TSCR1_TEN = 1;
}
#pragma CODE_SEG __NEAR_SEG NON_BANKED
/* Interrupt section for this module. Placement will be in NON_BANKED area.*/
interrupt 8 void TI0_Interrupt(void)
{
TFLG1 = 1; // Reset interrupt request flag
}
#pragma CODE_SEG DEFAULT