piclist 2005\02\01\154516a
>
Thread:
Interrupt USART + TMR0
www.piclist.com/techref/microchip/ints.htm?key=interrupt
BY
:
email (remove spam text)(Olin Lathrop)
Herbert Graf wrote:
> There are cases where doing "heavy stuff" in the interrupt MIGHT be a
> good idea. Heck I've had cases where doing EVERYTHING in the ISR and
> having the main program consist of just "goto start" all the time made
> sense.
I had a case once where I needed to convert a single serial data stream
(sortof like Manchester) into synchronous clock and data. There were only
something like 5 instructions per half-bit on a 20MHz PIC. I did this by
using the interrupt input like a "GOTO 4" input pin. There was no main code
after initialization. There was no RETFIE instruction and the stack just
overflowed, but that didn't matter because there were no calls.
*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com
<001c01c5089e$dae76560$780010ac@radianse.com> 7bit
See also: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Reply
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the
piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
month overview.
new search...