pic tmr0 question

Mar 13, 2008 0 Replies

Hi,



There is a PIC16C620A microcontroller which is running at 16MHz. In which time intervals starts the TMR0 interrupt routine? I mean to



12.5us, but Im not sure.

Here is a part of the program


TMR0_RELOAD equ 215 ;reload value for tmr0 .... movlw b'11011111' ;tmr0 clock is internal, prescaler -> wdt movwf OPTION_REG ..... movlw TMR0_RELOAD ;initialize tmr0 movwf TMR0 movlw b'10100000' ;enable tmr0 interrupt movwf INTCON ....



Thanks


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required