ADC General Notes...
; -----------------------------------------------------------------------------
; ADC.......
;
; The ADC is referenced to the +5 volt supply.
; Full scale ADC voltage --> 5 * (255/256) = 4.98046875 volts
; Bit sensitivity --> 4.98046875 / 255 = 19.53125 mv/bit
; ADC = Vadc / .01953125
;
; AN0 - Its input is selected thru one of three switches.
; SW1 - PAL-13 selected - HY3-2 which is not loaded
; SW2 - PAL-39 selected - HY2-7 which does what ??????
; SW3 - PAL-40 selected - PT1 which is not loaded
;
; AN1 - conditioned input from Pin-9 which is a No Connect
;
; AN2 - MAT input from HY1-7. The conditioned input is:
;
; 4.3 - Vadc
; Vadc - ( ------------ * 358 )
; 2720
; Rmat = --------------------------------
; 4.3 - Vadc
; ----------
; 2720
;
; or much simpler........
;
; R_sensor + 358
; Vadc = ( ---------------------- ) * 4.3
; 2720 + 358 + R_sensor
;
;
; AN3 - COOL temperature sensor. Its input follows the same rules as MAT.;
; AN4 - O2 Sensor - Gain from Pin-2 (O2 sensor input) to the input
; of the ADC is * 2.972 with a 46 mv offset.
;
; Vadc = ( O2v * 2.972 ) + .046
; O2v = ((ADC-2) * Vadc_bit) / 2.972
;
; AN5 - TPS - 1:1 relationship between the input signal and the ADC
;
; Vadc = Vtps
;
; AN6 - BATT - The battery voltage is divided by 3.2103 before reaching
; the ADC.
; ADC = ( BATT / 3.2102728725 ) / .01953125 or
; ADC = BATT / .0625
; BATT = ADC * .0625
; 255 = 16 volts
;
; Vadc = Vbatt / 3.2103
;
; AN7 - MAP - 1:1 relationship between the input signal and the ADC
;
; Vadc = Vmap
;
; -----------------------------------------------------------------------------