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

PIC Postscaler

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



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

PIC Postscaler
PostPosted: Thu Oct 04, 2012 6:48 pm     Reply with quote

Hi guys, I am not understanding very well the difference between the Prescaler and the Postscaler, at the end, they seem to be the same thing for me.
For example, if I have a 2:1 Prescaler and a 2:1 Postscaler, isnt it the same as having a 4:1 Prescaler and no Postscaler?
Thanks
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

Re: PIC Postscaler
PostPosted: Thu Oct 04, 2012 6:52 pm     Reply with quote

mfeinstein wrote:
Hi guys, I am not understanding very well the difference between the Prescaler and the Postscaler, at the end, they seem to be the same thing for me.
For example, if I have a 2:1 Prescaler and a 2:1 Postscaler, isnt it the same as having a 4:1 Prescaler and no Postscaler?
Thanks


They are both dividers.

Yes, you can look at dual 2:1's as a single 4:1... but there's also a reason for adding them to the front and back of event generators.

So as long as you understand that, you have the right idea.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
mfeinstein



Joined: 05 Jul 2012
Posts: 35

View user's profile Send private message

PostPosted: Thu Oct 04, 2012 6:56 pm     Reply with quote

I think I got myself the answer...if you are reading the timer and thus want more resolution in your timer, you can keep a good resolution and still only interrupt later, having this way a "simulated longer timer".
If I am wrong or if my answer wasnt clear, please let me know,
Best Regards
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