3.1 The Interrupt Function
Functions are made into interrupt functions by using the __interrupt()
specifier. As the tcInt()
interrupt function may have to handle
multiple interrupt sources, code is added to ensure the counter
portValue
is only incremented if Timer0 generated the
interrupt.