[comp.lang.c] IMPLEMENTING INTERRUPT GENERATION USING C

CRAIG@rcgl1.eng.ohio-state.edu (Craig A. Foster) (08/31/90)

I am planning to implement digital control on a gear tester,
using a PC, XT, or AT. I want to sample using interrupt generation.
To implement the interrupt, I will have to program the timer to output
pulses separated by a period equal to the desired sampling rate,
send the pulses to the controller, which will interrupt the CPU
at every pulse to perform my sampling subroutine.

I have been told that the best way to do this would be to program
in C. The problem is that I have never done interrupt generation, and I
have never used C. I've figured that this problem has already been
solved by a EE with an interest in controls, or someone with a similar
background. If you fit this bill, or know someone who does, I would
greatly appreciate a couple of pointers from you or them.

                                             Thank You
                                             Craig Foster
                                             Robinson Lab, 1007
                                             292-0910
                                             291-7030
email:craig@rcgl1.eng.ohio-state.edu
               or
      "rcgl1::craig"@eng.ohio-state.edu