![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm4100/rabbitcore-rcm4100_user-manual_3119422061.webp)
User’s Manual
57
anaInVolts
float anaInVolts(unsigned int channel, unsigned int gaincode);
DESCRIPTION
Reads the state of a single-ended analog input channel and uses the previously set
calibration constants to convert it to volts.
PARAMETERS
channel
the channel number (0 to 7) corresponding to LN0 to LN7.
gaincode
the gain code of 0 to 7 (applies only to Prototyping Board):
Channel Code
Single-Ended
Input Lines
*
* Negative input is ground.
Voltage Range
†
(V)
† Applies to Prototyping Board.
0
+AIN0
0–22.5
1
+AIN1
0–22.5
2
+AIN2
0–22.5
3
+AIN3
0–22.5
4
+AIN4
0–22.5
5
+AIN5
0–22.5
6
+AIN6
0–22.5
7
+AIN7
0–2
‡
‡ Used for thermistor in sample program.
Gain Code
Gain
Multiplier
Voltage Range
*
(V)
* Applies to Prototyping Board.
0
×1
0–22.5
1
×2
0–11.25
2
×4
0–5.6
3
×5
0–4.5
4
×8
0–2.8
5
×10
0–2.25
6
×16
0–1.41
7
×20
0–1.126
Summary of Contents for RabbitCore RCM4100
Page 1: ...RabbitCore RCM4100 C Programmable Core Module User s Manual 019 0153 090508 G...
Page 18: ...14 RabbitCore RCM4100...
Page 102: ...98 RabbitCore RCM4100...
Page 106: ...102 RabbitCore RCM4100...
Page 110: ...106 RabbitCore RCM4100...
Page 112: ......