Searched refs:value (Results 151 - 175 of 786) sorted by relevance

1234567891011>>

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dadc121c021.js38 var val = myI2C_ADC.value();
40 console.log("ADC value: " + val + " Volts = " + voltsVal);
H A Dgrovevdiv.js36 val = myVoltageDivider.value(100);
39 console.log("ADC value: " + val + " Gain 3: " + gain3val
H A Dguvas12d.js40 + ", Voltage value (higher means more UV): "
41 + roundNum(myUVSensor.value(g_GUVAS12D_AREF, g_SAMPLES_PER_QUERY), 6);
H A Dina132.js34 console.log(roundNum(differential_amplifier_obj.value(), 5));
H A Dmq303a.js60 "until the value drops below about 450."
63 // Print the detected alcohol value every second
66 var val = myAlcoholObj.value();
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dgp2y0a.py56 # Every second, print the averaged voltage value
59 print "AREF: {0}, Voltage value (higher means closer): {1}".format(
61 myIRProximity.value(GP2Y0A_AREF, SAMPLES_PER_QUERY))
H A Dgrovemoisture.py51 # Read the value every second and print the corresponding moisture level
53 moisture_val = myMoisture.value()
60 print "Moisture value: {0}, {1}".format(moisture_val, result)
H A Dgrovevdiv.py48 val = myVoltageDivider.value(100)
51 print "ADC value: {0} Gain 3: {1}v Gain 10: {2}v".format(
H A Dguvas12d.py52 "Voltage value (higher means more UV): "
54 myUVSensor.value(GUVAS12D_AREF, SAMPLES_PER_QUERY)))
/hardware/bsp/intel/peripheral/libupm/src/ad8232/
H A Dad8232.cxx46 int AD8232::value() function in class:AD8232
H A Dad8232.h92 * Returns the current ADC value for the device output pin. If an
95 * @return ADC value
97 int value();
/hardware/bsp/intel/peripheral/libupm/src/grove/
H A Dgrove.h82 * Turns the LED on or off, depending on the value.
83 * If the value is positive (greater than or equal
87 * @param value Tells the LED to turn on (for values >=1)
92 mraa_result_t write(int value);
185 * Gets the raw value from the AIO pin
187 * @return Raw value from the ADC
195 int value();
205 * of the sensor decreases. This means the raw value from the
207 * An approximate lux value can also be returned.
226 * Gets the raw value fro
[all...]
/hardware/bsp/intel/peripheral/libupm/src/lcd/
H A Dlcm1602.h225 mraa::Result send(uint8_t value, int mode);
226 mraa::Result write4bits(uint8_t value);
227 mraa::Result expandWrite(uint8_t value);
228 mraa::Result pulseEnable(uint8_t value);
H A Dssd1308.cxx141 SSD1308::writeChar(uint8_t value) argument
144 if (value < 0x20 || value > 0x7F) {
145 value = 0x20; // space
149 rv = m_i2c_lcd_control.writeReg(LCD_DATA, BasicFont[value - 32][idx]);
/hardware/bsp/intel/peripheral/libupm/src/servo/
H A Dservo.cxx93 * Calculating relative pulse time to the value.
95 int Servo::calcPulseTraveling (int value) { argument
97 if (value > m_maxAngle) {
102 if (value < 0) {
107 return (int) ((float)m_minPulseWidth + ((float)value / m_maxAngle) * ((float)m_maxPulseWidth - (float)m_minPulseWidth));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_writer.c18 br->value = 0;
/hardware/intel/img/psb_video/src/
H A Dpsb_surface.c164 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */
199 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */
377 struct drm_video_displaying_frameinfo value; local
381 value.buf_handle = (uint32_t)(wsbmKBufHandle(wsbmKBuf(psb_surface->buf.drm_buf)));
382 value.width = width;
383 value.height = height;
384 value.size = psb_surface->size;
385 value.format = psb_surface->extra_info[4];
386 value.luma_stride = psb_surface->stride;
387 value
[all...]
H A Dtng_enc_trace.h68 static inline int pci_set_long(int bus,int device_fn, int where,unsigned long value) argument
71 outl(value,0xCFC);
82 static inline int pci_set_short(int bus,int device_fn, int where,unsigned short value) argument
85 outw(value,0xCFC + (where&2));
/hardware/libhardware/modules/vibrator/
H A Dvibrator.c48 char value[20]; /* large enough for millions of years */ local
55 to_write = snprintf(value, sizeof(value), "%u\n", timeout_ms);
56 written = TEMP_FAILURE_RETRY(write(fd, value, to_write));
61 /* even though EAGAIN is an errno value that could be set
63 value can be clearly identified when debugging and suggests the
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Dpm.c110 char value[32]; local
112 ret = str_parms_get_str(parms, AUDIO_PARAMETER_KEY_DEV_SHUTDOWN, value, sizeof(value));
114 if (strstr(value, "true")) {
/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dcpuhint.h56 int (*fn_lock_release_)(int value) = NULL;
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_ucm.h223 * \param value Value pointer
234 * - value identifier <NAME>
274 const char **value);
280 * \param value result
289 long *value);
295 * \param value Value
299 * _verb - set current verb = value
300 * _enadev - enable given device = value
301 * _disdev - disable given device = value
302 * _swdev/<old_device> - new_device = value
[all...]
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_qclient.cpp53 status_t QClient::notifyCallback(uint32_t msg, uint32_t value) { argument
56 securing(value);
59 unsecuring(value);
/hardware/qcom/audio/msm8909/hal/voice_extn/
H A Dcompress_voip.c427 char value[32]={0}; local
436 value, sizeof(value));
438 rate = atoi(value);
443 memset(value, 0, sizeof(value));
445 value, sizeof(value));
447 min_rate = atoi(value);
449 memset(value,
482 char value[32]={0}; local
505 char value[32]={0}; local
526 char value[32]={0}; local
[all...]
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dbt_vendor_qcom.c233 int value, ret; local
237 value = atoi(ref_count);
241 ALOGV("%s: on : value is: %d", __func__, value);
242 if(value == 1)
247 value++;
248 ALOGV("%s: on : value is incremented to : %d", __func__, value);
253 value++;
256 if (value
283 char value[PROPERTY_VALUE_MAX] = {'\\0'}; local
301 char value[PROPERTY_VALUE_MAX] = {'\\0'}; local
1156 char value[PROPERTY_VALUE_MAX] = {'\\0'}; local
[all...]

Completed in 452 milliseconds

1234567891011>>