Instructions

230Libraries
© 2013 Conrad Electronic
u = x * Reference Voltage / 512 / V
5.4.1.1 ADC_Disable
ADC Functions
Syntax
void ADC_Disable(void);
Sub ADC_Disable()
Description
This function disables to the A/D-Converter to reduce power consumption.
Parameter
None
5.4.1.2 ADC_Read
ADC Functions
Syntax
word ADC_Read(void);
Sub ADC_Read() As Word
Description
The function ADC_Read delivers the digitized measured value from one of the 8 ADC ports. The port num-
ber (0..7) has been given as a parameter in the call of ADC_Set(). The result is in the range from 0 to 1023
according to the 10bit resolution of the A/D-Converter. The analog inputs ADC0 to ADC7 can be measured
against ground, or differentiation measurement with gain factor of 1/10/100 can be made.
Return Parameter
measured value at the ADC-Port
5.4.1.3 ADC_ReadInt
ADC Functions
Syntax
word ADC_ReadInt(void);