Looks like pre-jallib JALV2 code, but this is not mine. Roman-Black
seems to be somenone down-under...

And for your question: at first glance I see no reason why this would
not work, although you have to change the three constansts to vars. I
expect this will affect the asm code, but am not sure since I never
use asm. I see no banking instructions which makes me wonder if the
jal compiler adds them.

Last (but not least) I see the isr rate is once every 1024 cycles, so
almost 20 kHz when running 20 MHz. This is quite a load and wonder why
this high rate is required...

Joep

2010/7/13 vasile surducan <[email protected]>:
> Hi Joep,
> I think the file attached is one of yours.
> Question: can be modified this code for variable input period ?
> Meaning the  "time_us" becoming a variable which can be programmed by the
> user
> and re-entering into the ISR every time with newer programmed value?
> thx,
> Vasile
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to