13.07.2015 Views

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

PIC16C55X, EPROM-Based 8-Bit CMOS MCU Data Sheet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PIC16C55X</strong>FIGURE 6-3: TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1:2PC(ProgramCounter)InstructionFetchQ1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4PC-1PC PC+1 PC+2 PC+3 PC+4 PC+5 PC+6MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,WTMR0T0T0+1 NT0NT0+1InstructionExecuteWrite TMR0executedRead TMR0reads NT0Read TMR0reads NT0Read TMR0reads NT0Read TMR0reads NT0Read TMR0reads NT0 + 1FIGURE 6-4:TIMER0 INTERRUPT TIMINGQ1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4OSC1CLKOUT(3)TMR0 timerT0IF bit(INTCON)FEh1 1FFh 00h 01h 02hGIE bit(INTCON)INSTRUCTION FLOWPCInterrupt Latency TimePC PC +1 PC +1 0004h 0005hInstructionfetchedInst (PC)Inst (PC+1)Inst (0004h)Inst (0005h)InstructionexecutedInst (PC-1)Inst (PC)Dummy cycleDummy cycleInst (0004h)Note 1: T0IF interrupt flag is sampled here (every Q1).2: Interrupt latency = 4Tcy, where Tcy = instruction cycle time.3: CLKOUT is available only in RC oscillator mode.DS40143C-page 30 Preliminary © 1998 Microchip Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!