Quote:
Originally Posted by adciv
I want to eliminate the processor time used by needles polling of inputs that have not changed.
|
The only polling that should be going on in your code is in a control loop when your controller needs the feedback. As Mark mentioned in his post, the FPGA receives and processes the inputs independently of the CPU, and makes the results available on-demand from the CPU.
If you are considering running your controller code in an Interrupt Service Routine that is almost always a very bad idea.