void ps2_host_init(void) { idle(); PS2_INT_INIT(); PS2_INT_ON(); // POR(150-2000ms) plus BAT(300-500ms) may take 2.5sec([3]p.20) //_delay_ms(2500); }
void ps2_host_init(void) { #ifdef PS2_USE_INT PS2_INT_INIT(); PS2_INT_ON(); idle(); #else inhibit(); #endif }