![background image](http://html1.mh-extra.com/html/tews-datentechnik/tip850/tip850_user-manual_1093606015.webp)
7,3 8VHU 0DQXDO 9HUVLRQ
,17
,QWHUUXSW (QDEOH
(1$
Figure 8: ADCCSR Interrupt Enable
5.1.1.5. ADC Status
The status of the ADC converter can be obtained by ready the bit 14 and bit 15 of the ADCCSR. As long as bit
14 is in the ’1’ state, the settling time did not expire after writing to the ADCCSR. Bit 15 indicates the busy status
of the ADC converter itself.
1RWH
,I WKH DXWRPDWLF VHWWOLQJ FRQWURO LV HQDEOHG DQG WKH $'& VWDWXV LV SROOHG
ERWK ELWV DQG KDYH WR EH EHIRUH WKH GDWD YDOXH FDQ EH UHDG
IURP WKH $'& 'DWD 5HJLVWHU $'&'$7
6HWWOLQJ 7LPH %XV\ 6WDWXV
6HWWOH
%XV\
$'&
%XV\
$'& %XV\ 6WDWXV
Figure 9: ADCCSR ADC Status
5.1.2. ADC Convert Register
By writing any value into the ADC Convert Register ADCCON a data conversion is started immediately. This
mode is most useful, if a single input channel must be sampled with a maximum data rate.
1RWH
,Q WKLV PRGH LW LV LQ WKH UHVSRQVLELOLW\ RI WKH SURJUDPPHU WR PDNH VXUH
WKDW WKH UHTXLUHG DFFXUDF\ RI WKH GDWD LV QRW DIIHFWHG E\ WKH VHWWOLQJ WLPH
DIWHU D FKDQJH RI JDLQ RU D FKDQJH RI WKH LQSXW FKDQQHO
5.1.3. ADC Data Register
The ADC Data Register ADCDAT contains the converted data value. The data bit 11 (sign bit) of the ADC is
extended into bits 12 to 15 by hardware. This allows direct precessing of the data as a 16 bit two’s complement
integer value.
Figure 10: ADC Data Register Layout
1RWH
7KH $'& GDWD UHJLVWHU LV QRW VWDELOH GXULQJ DV ORQJ DV WKH $'& LV EXV\
Summary of Contents for TIP850
Page 2: ...7 3 8VHU 0DQXDO 9HUVLRQ...