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 CCS Technical Support

Interruption

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



Joined: 24 Oct 2011
Posts: 50

View user's profile Send private message

Interruption
PostPosted: Sun Mar 04, 2012 4:10 pm     Reply with quote

I want the formula that calculates the timer 0 interrupt frequency 4MHZ, and I want eg the timer0 loaded with a value of 217, which we may well explain the formula for timer0.
dyeatman



Joined: 06 Sep 2003
Posts: 1934
Location: Norman, OK

View user's profile Send private message

PostPosted: Sun Mar 04, 2012 4:20 pm     Reply with quote

What mode and what chip, it matters!
_________________
Google and Forum Search are some of your best tools!!!!
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

Interrupts
PostPosted: Sun Mar 04, 2012 5:51 pm     Reply with quote

The data sheet for your chosen device has all the formulae you need in it's timer sections.

On second thoughts, you may need to explain what you are trying to achieve.

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9226
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Mar 04, 2012 6:25 pm     Reply with quote

I don't think anyone reads any more....
must be a 'lost art'...

EVERY datasheet for EVERY PIC in the past 25+ years I've been using them has had FULL details on every aspect of it's operation....

Even the CCS C compiler manual ( mine's a sprialwound version,13 years old !) has details on the answer to the question.
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