PIC18 Diagnostic Test APIs