| ??? 07/24/06 14:23 Modified: 07/24/06 14:26 Read: times |
#120946 - totally imprecse Responding to: ???'s previous message |
And subsequently timer0 is initialized in the infinite loop of main inside code that will be executed after timer 0 interrupt occurs.
While I absolutely applaud your efforts to KISS (Keep ISR Short and Simple) The reload and restart of the timer should be done in the ISR. Erik |
| Topic | Author | Date |
| problem in timer with a least count of 1 millisec | 01/01/70 00:00 | |
| Code as shown should work methinks | 01/01/70 00:00 | |
| clarifications | 01/01/70 00:00 | |
| atomicity | 01/01/70 00:00 | |
| atomicity problem? | 01/01/70 00:00 | |
| about atomicity | 01/01/70 00:00 | |
| Back to basic | 01/01/70 00:00 | |
| reply to vishal sinha | 01/01/70 00:00 | |
| bible time | 01/01/70 00:00 | |
| Hm ... | 01/01/70 00:00 | |
| reply to Christoph Franck | 01/01/70 00:00 | |
| totally imprecse | 01/01/70 00:00 | |
| What is the size of the variables? | 01/01/70 00:00 | |
| not enough info | 01/01/70 00:00 | |
| other details about code | 01/01/70 00:00 | |
| here you go again | 01/01/70 00:00 | |
yet questions more | 01/01/70 00:00 |



