132
Libraries
© 2008 Conrad Electronic
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
number (0..7) has been given as a parameter in the call of
. 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
6.4.3
ADC_ReadInt
ADC Functions
Syntax
word ADC_ReadInt(void);
Sub ADC_ReadInt() As Word
Description
This function is used to read the measurement value after a successful ADC-Interrupt. The ADC-Interrupt
gets triggered after the AD conversion is completed and a new measurement value is available. See
. The function ADC_Read delivers the digitized measured value from one of
the 8 ADC ports. The port number (0..7) has been given as a parameter in the call of
. 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 of ADC-Port
6.4.4
ADC_Set
ADC Functions
Syntax
word ADC_Set(byte v_ref,byte channel);
Sub ADC_Set(v_ref As Byte,channel As Byte) As Word
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......