After or Instead Modes
Universal Driver Documentation
- Create a user interrupt function with type void and a void* parameter.
- Call dscSetUserInterruptFunction() to install the user interrupt routine and select After or Instead mode.
- To start interrupts, call the desired driver interrupt function, such as dscADSampleInt().
- If the interrupt operation is in cycle mode, call dscCancelOp() to terminate. If the operation is in one-shot mode, it will automatically terminate when the chosen number of samples is taken, and the user interrupt function will terminate as well.
- To uninstall the user interrupt function, call dscSetUserInterruptFunction() with Clear mode, or call dscClearUserInterruptFunction().
This page was last modified 23:14, 6 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.