Пример #1
0
/**
 *  Implementación del vector de interrupción (único)
 */
void interrupt isr(void)
{
	// Actualizar el conteo del tiempo
	tick_update();
	// Otras interrupciones deben manejarse aqui
}
Пример #2
0
/**
 * Interrupt vector implementation. Here we must update the internal counter on
 * the tick library (this is needed on PIC16 or PIC18 parts).
 */
void interrupt isr(void)
{
	// Update the system counter
	tick_update();
	// Other interrupts can be handled here
}