Page 26 - DEC40053 Ebook_Timer
P. 26
Timer0 clock source
(bit 5: t0cs)
Timer 0 can operate as a
timer or as a counter.
Timer mode is selected by
deciding whether the clock
source is internal (Fosc/4)
or external.
If T0CS = 0, then
Fosc is used as a
clock source. If T0CS = 1, the clock
source is external
Timers are used for coming from pin RA4/
time delay. T0CK1.
Timer is used as an
event counter.
-18-