#int_RDA
RDA_isr()
{
Buffer[Contador_de_Recepcion_Serie] = getc();
if (Buffer[Contador_de_Recepcion_Serie] == 0x00)
{
if (Analiza_Buffer())
{
Realiza_Accion_18SEG();
//Resetear la CPU completamente o regresar correctamente al punto anterior a la llamada
}
Contador_de_Recepcion_Serie = 0;
}
else
Contador_de_Recepcion_Serie++;
}
reset_cpu() hace todo eso :mrgreen: :mrgreen: :mrgreen:Realmente hace todo eso?
This is a general purpose device reset. It will jump to location 0 on PCB and PCM parts and also reset the registers to power-up state on the PIC18XXX.
Cita de: Ayuda CCSThis is a general purpose device reset. It will jump to location 0 on PCB and PCM parts and also reset the registers to power-up state on the PIC18XXX.