151-0153 Rabbit Semiconductor, 151-0153 Datasheet - Page 101

no-image

151-0153

Manufacturer Part Number
151-0153
Description
ASSEMBLY - RABBITFLEX CABLES
Manufacturer
Rabbit Semiconductor
Series
RabbitFLEX™r
Datasheet

Specifications of 151-0153

Accessory Type
Cable Assembly
For Use With/related Products
BL300F
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
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 151-0153