/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
H A D | adc121c021.js | 38 var val = myI2C_ADC.value(); 40 console.log("ADC value: " + val + " Volts = " + voltsVal);
|
H A D | grovevdiv.js | 36 val = myVoltageDivider.value(100); 39 console.log("ADC value: " + val + " Gain 3: " + gain3val
|
H A D | guvas12d.js | 40 + ", Voltage value (higher means more UV): " 41 + roundNum(myUVSensor.value(g_GUVAS12D_AREF, g_SAMPLES_PER_QUERY), 6);
|
H A D | ina132.js | 34 console.log(roundNum(differential_amplifier_obj.value(), 5));
|
H A D | mq303a.js | 60 "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 D | gp2y0a.py | 56 # 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 D | grovemoisture.py | 51 # 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 D | grovevdiv.py | 48 val = myVoltageDivider.value(100) 51 print "ADC value: {0} Gain 3: {1}v Gain 10: {2}v".format(
|
H A D | guvas12d.py | 52 "Voltage value (higher means more UV): " 54 myUVSensor.value(GUVAS12D_AREF, SAMPLES_PER_QUERY)))
|
/hardware/bsp/intel/peripheral/libupm/src/ad8232/ |
H A D | ad8232.cxx | 46 int AD8232::value() function in class:AD8232
|
H A D | ad8232.h | 92 * 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 D | grove.h | 82 * 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 D | lcm1602.h | 225 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 D | ssd1308.cxx | 141 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 D | servo.cxx | 93 * 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 D | vp9_writer.c | 18 br->value = 0;
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_surface.c | 164 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 D | tng_enc_trace.h | 68 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 D | vibrator.c | 48 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 D | pm.c | 110 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 D | cpuhint.h | 56 int (*fn_lock_release_)(int value) = NULL;
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_ucm.h | 223 * \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 D | hwc_qclient.cpp | 53 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 D | compress_voip.c | 427 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 D | bt_vendor_qcom.c | 233 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...] |