l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Apr 04 14:59

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Must a 300 microsecond delay keep the CPU busy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Must a 300 microsecond delay keep the CPU busy?

Chris Jenks wrote:

Dear John,

That sounds like the best solution. The A/D IC does have an End Of Conversion pic that I can connect to any of the parallel port inputs. I'm relatively new to C. Do you know of a function I can cell that would wait for an interrupt from the parallel port, or is it necessary for me to write one?

One more thing; perhaps just a matter of semantics, but perhaps worth noting.

You don't "wait" for an interrupt... an interrupt is a signal to the CPU to stop what is is doing and "answer the phone". When the interrupt line is raised the CPU reads the vector (value of the interrupt), saves the machine state, executes the ISR (Interrupt Service Routine) for that vector, restores the machine state, and continues processing. If you really want to get into the details and "down and dirty" might suggest a book by Rubini on writing Linux drivers, available on the web or any number of on-line book stores.


vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.