i've looked up f877 datasheet and TMR1 has its own control register (we can enable and disable it) and it's two paired (TMR1H and TRM1L)
i am not sure but this is algorythm as i understand, if TMR1L=255 then TRM1H=TMR1H+1
and if i sum them up, timepassed=TRM1H*255+TMR1L i can find time in useconds.
Thanks for your helps.





Bookmarks