void initAll(void){ RTIInit(0x14); // INTIALIZE RTI DDRH=0; DDRT=0x20; // SET RELAVENT DDRs DDRB=0xff; DDRP = 0xFF; //PORTP output DDRJ = 0xFF; //PTJ out PTJ=0x0; EnableInterrupts; // <=== WHAT HE SAID }
void initAll(void){ ATDinit(); LCDinit(); RTIInit(0x13); }
/* 开始时钟中断 */ void StartTimeBase(void) { //STB_Flag = TRUE; absoluteTime = 0; RTIInit(); EnableInterrupts; }