voiddetachInterrupt(uint8_tinterruptNum){if(interruptNum<EXTERNAL_NUM_INTERRUPTS){// Disable the interrupt. (We can't assume that interruptNum is equal
// to the number of the EIMSK bit to clear, as this isn't true on the
// ATmega8. There, INT0 is 6 and INT1 is 7.)
switch(interruptNum){case0:EIMSK&=~(1<<INT0);break;case1:EIMSK&=~(1<<INT1);break;case2:break;}intFunc[interruptNum]=nothing;}}
// ATmega8. There, INT0 is 6 and INT1 is 7.)
switch(interruptNum){case0:EIMSK&=~(1<<INT0);break;case1:EIMSK&=~(1<<INT1);break;case2:break;}intFunc[interruptNum]=nothing;}}