CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Assembler 16F870/71 Timer 0 1 and 2

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Regular Guy



Joined: 04 Jun 2017
Posts: 110

View user's profile Send private message

Assembler 16F870/71 Timer 0 1 and 2
PostPosted: Wed Jan 12, 2022 12:33 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jan 12, 2022 12:46 pm     Reply with quote

Screenshot.

We saved Print Screen in Paint.

Anybody know how to post that please?

Thanks![/img]
_________________
PIC Hobbyist
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Wed Jan 12, 2022 12:58 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jan 12, 2022 1:22 pm     Reply with quote

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: 452
Location: Montenegro

View user's profile Send private message

PostPosted: Thu Jan 13, 2022 3:24 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Jan 19, 2022 1:42 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group