(Solved):
This is the full question.
void ISR CNInterrupt (void) I CNcountert+; CNIF=0 ) uint8 ...
This is the full question.
void ISR CNInterrupt (void) I CNcountert+; ∠CNIF=0 ) uint8 cNcounter; void main () CNcounter =0; T2CON=0×0000; PR2 =99; T2IF =0; CN3IE=1;_CNIF=0;_CNIP=1;_CNIE=1; T2 CONbits. TON 1=1; while (1) i if (−T2IF=1)↑ IATA 1=0 - IATA1 =1 IT2 IE=0 \} j) Compute the percentage of CPU time taken by the above ISR. Assume the following: - Each statement consumes one instruction cycle. - The RA1 is already configured as input.