I use the 9S08SG16 and only configured ICS TPM GPIO to confirm my ICS .
But the output is different from what I expected.
My code is very simple.
ICSC1 = 0x04;
ICSC2 = 0x00;
interrupt VectorNumber_Vtpm1ovf void TPM1_OVF_ISR(void)
if((TPM1SC & 0x80)==0x80)
TPM1SC_TOF = 0; //溢出标志位