Upload
voduong
View
268
Download
0
Embed Size (px)
Citation preview
Ing. Ing. ZbynZbyněěk Burek Burešš, Ph.D., Ph.D.
zbynekzbynek..buresbures@@unobunob..czczMgr. VojtMgr. Vojtěěch ch KrmKrmííččekek
vojtec@[email protected]
PIC12F629 / 675
Timers PIC12FPIC12F629 / 675629 / 675
Timers Timers
Timer0 Timer0 -- featuresfeatures
8 bit timer / counter,8 bit timer / counter,
readable and writable,readable and writable,
programmable 8 bit programmable 8 bit prescalerprescaler,,
internal or external clock,internal or external clock,
interrupt on overflow from interrupt on overflow from
0xff 0xff --> 0x00.> 0x00.
Timer1 Timer1 -- featuresfeatures
16 bit timer / counter,16 bit timer / counter,
readable and writable,readable and writable,
programmable 2 bit programmable 2 bit prescalerprescaler,,
internal or external clock,internal or external clock,
synchronous and asynchronous operations,synchronous and asynchronous operations,
optional external enable bit optional external enable bit
wake up after overflow,wake up after overflow,
interrupt on overflow from interrupt on overflow from
0xffff 0xffff --> 0x0000> 0x0000