View previous topic :: View next topic |
Author |
Message |
kamillas
Joined: 24 Oct 2011 Posts: 50
|
Interruption |
Posted: Sun Mar 04, 2012 4:10 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
dyeatman
Joined: 06 Sep 2003 Posts: 1924 Location: Norman, OK
|
|
Posted: Sun Mar 04, 2012 4:20 pm |
|
|
What mode and what chip, it matters! _________________ Google and Forum Search are some of your best tools!!!! |
|
![](templates/subSilver/images/spacer.gif) |
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
|
Interrupts |
Posted: Sun Mar 04, 2012 5:51 pm |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
temtronic
Joined: 01 Jul 2010 Posts: 9171 Location: Greensville,Ontario
|
|
Posted: Sun Mar 04, 2012 6:25 pm |
|
|
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. |
|
![](templates/subSilver/images/spacer.gif) |
|