} /* loop forever */
/* please make sure that you never leave main */
}
#pragma CODE_SEG __NEAR_SEG NON_BANKED
interrupt 66 void PIT0(void)
{
// PITTF_PTF0 = 1;
//用这PITTF_PTF0 = 1清除不了标志位,翻了下数据手册看到
//If flag clearing by writing a one and flag setting happen in the same bus clock cycle,
//the flag remains set.The flag bits are cleared if the PIT module is disabled
// or if thecorresponding timer channel is disabled.