beautypg.com

Texas Instruments MSC1210 User Manual

Page 246

background image

Analog-to-Digital Converter

17-18

Figure 17−8. Analog−to−Digital Converter Peripheral

For each analog input source whose editable text windows are displayed un-
der the Analog Input Channels title, one could specify the desired analog volt-
ages to be converted. The

µ

Vision2 simulator also provides an alternate way

for entering analog voltage values by writing a script program that runs in paral-
lel with the program being executed. A sample code is appended. Please refer
to the

µ

Vision2 Debug Functions chapter in the Keil’s Getting Started and Cre-

ative Programming document for more information on writing scripts.