To: | |
---|---|
Subject: | Re: [ts-7000] Re: function generator? |
From: | Jim Long <> |
Date: | Thu, 14 Oct 2010 08:31:19 -0700 |
Dave, how true; however, the interrupt will be very fast. xor a PIO bit. Edit the inline assembly for the interrupt so you only push and pop the registers you change you should be able to make the interrupt less than 10% overhead including latency. As to how piratical that solution is, is more application dependent. If there are other requirements besides a need for an adjustable 1 to 1 MHz square wave generator, then you need a faster processor or use external hardware. Like a function generator IC. You could use a fast polling loop to watch the timer status inside you application. While polling is faster than interrupts in many cases its application requires more "crafting" of the routine to get the timing correct. jim On Wed, Oct 13, 2010 at 7:54 PM, David Smead <> wrote:
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: [ts-7000] recommendation for file backed storage?, Hasan GÃven CandoÃan |
---|---|
Next by Date: | RE: [ts-7000] Re: function generator?, juan obando |
Previous by Thread: | Re: [ts-7000] Re: function generator?, David Smead |
Next by Thread: | Re: [ts-7000] Re: function generator?, David Smead |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU