20-151-0178 Rabbit Semiconductor, 20-151-0178 Datasheet - Page 101

CABLE CONVERTER RS-232 TO USB

20-151-0178

Manufacturer Part Number
20-151-0178
Description
CABLE CONVERTER RS-232 TO USB
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-151-0178

Accessory Type
USB to RS232 Adapter
Product
Microcontroller Accessories
For Use With/related Products
Rabbit-based Boards
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
20-151-0178
316-1181
DESCRIPTION
PARAMETERS
RETURN VALUE
SEE ALSO
RabbitFLEX User’s Manual
int flexAnaInAverageSetting(Flex_IOPin *pin, float alpha);
Sets the averaging alpha value (weight value) for a given ADC channel to read averaged ADC
data. To read the average ADC data use the following functions:
This function is non-reentrant.
pin
alpha
-1: invalid alpha value
-2: error (not an analog input?)
flexAnaInAverage
0: success
• flexAnaInAverage() - read averaged raw data
• flexAnaInVoltsAverage() - read averaged voltage
• flexAnaInmAmpsAverage() - read averaged current
If you set the alpha value to 1 for a given A/D channel, then you will get the actual unaltered
raw data value.
Pointer to the information structure for the selected pin.
Value for averaging the given analog input channel; the recommended range
is 0.001–1.0.
flexAnaInAverageSetting
,
flexAnaInVoltsAverage
www.rabbit.com
,
flexAnaInmAmpsAverage
95

Related parts for 20-151-0178