View previous topic :: View next topic |
Author |
Message |
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
Assembler 16F870/71 Timer 0 1 and 2 |
Posted: Wed Jan 12, 2022 12:33 pm |
|
|
Will work on posting screenshot.
16F870/71 datasheet Peripheral list.
Shows how three timers are different.
What is the significance of that?
Thanks! _________________ PIC Hobbyist |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Wed Jan 12, 2022 12:46 pm |
|
|
Screenshot.
We saved Print Screen in Paint.
Anybody know how to post that please?
Thanks![/img] _________________ PIC Hobbyist |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19495
|
|
Posted: Wed Jan 12, 2022 12:58 pm |
|
|
Timer0 is only 8bit.
Timer1 is 16bit.
Timer2 is again 8bit, but with a programmable reset count (designed for
use to feed the PWM).
Timer1 supports an external crystal or oscillator making it ideal for clock
applications.
Get hold of DS33023, gives a lot more details than the data sheet. |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Wed Jan 12, 2022 1:22 pm |
|
|
Thank you!
Mid range family reference manual.
It is shortcut on our desktop.
We like the sections in datasheet for peripherals too.
' (designed for use to feed the PWM). '
'making it ideal for clock applications. '
That is gold to us!
Answers the 'What the heck are you supposed to do with it?'
Thanks! _________________ PIC Hobbyist |
|
|
PrinceNai
Joined: 31 Oct 2016 Posts: 478 Location: Montenegro
|
|
Posted: Thu Jan 13, 2022 3:24 am |
|
|
I can recommend a book that explains a lot of those things: Embedded C Programming and the Microchip PIC from Barnett, Cox & O'Cull. Older book, from 2004, but it explains pretty well the idea behind different timers on a PIC and lots of other stuff.
Sadly, no commission for this recommendation for me :-) |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Wed Jan 19, 2022 1:42 pm |
|
|
Thank you PrinceNai
We have the Gooligum lessons with Timer 0,1 and 2.
Baseline and Midrange PIC's.
Also have the David Benson Tim'n and Count'n.
We had forgot about that one.
Will keep digging into this here. _________________ PIC Hobbyist |
|
|
|