i am working on aduc 7026 converter. in my work, i want to start ADC conversion for certain time and then stop for certain time using Timer 0 and Timer 1.
Code examples are included on the CD as part of the development system. The following examples should be useful:
TimerTrig1.c in the folder ADuC7XXXV0.2\ADuC702x\code\RealView Code examples\Timers.
This code demonstrate how to configure the timer to generate an interrupt at regular interval. This interval is programmable. This code toggles a GPIO in the interrupt service routine. You can modify the code to start/stop ADC conversion instead of toggling a GPIO.
ADCcont.c in the folder ADuC7XXXV0.2\ADuC702x\code\RealView Code examples\ADC.
This code shows how to configure the ADC to perform continuous conversion and store the result in an array.
Finally ADCtimer.c in the folder ADuC7XXXV0.2\ADuC702x\code\RealView Code examples\ADC.
This code shows how to use the ADC interrupt, instead of polling the ADC ready bit.
Retrieving data ...