Home
last modified time | relevance | path

Searched refs:voltage (Results 1 – 19 of 19) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
Dapp_demo_gl5537_1.c52 float voltage; in GetLightStatus() local
67 voltage = (float)vlt * VOLTAGE_1_8_V * \ in GetLightStatus()
69 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetLightStatus()
70 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetLightStatus()
84 float voltage; in GetGpio5Voltage() local
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; in GetGpio5Voltage()
104 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetGpio5Voltage()
105 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
Dapp_demo_gl5537_1.c52 float voltage; in GetLightStatus() local
67 voltage = (float)vlt * VOLTAGE_1_8_V * \ in GetLightStatus()
69 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetLightStatus()
70 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetLightStatus()
84 float voltage; in GetGpio5Voltage() local
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNAL_RANGE; in GetGpio5Voltage()
104 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetGpio5Voltage()
105 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
Dapp_demo_gl5537_1.c52 float voltage; in GetLightStatus() local
67 voltage = (float)vlt * VOLTAGE_1_8_V * \ in GetLightStatus()
69 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetLightStatus()
70 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetLightStatus()
84 float voltage; in GetGpio5Voltage() local
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; in GetGpio5Voltage()
104 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetGpio5Voltage()
105 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
Dapp_demo_gl5537_1.c52 float voltage = 0; in GetLightStatus() local
68 voltage = (float)vlt * VOLTAGE_1_8_V * in GetLightStatus()
70 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetLightStatus()
71 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetLightStatus()
85 float voltage = 0; in GetGpio5Voltage() local
104 voltage = (float)vlt * VOLTAGE_1_8_V * in GetGpio5Voltage()
106 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetGpio5Voltage()
107 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
Dapp_demo_gl5537_1.c52 float voltage; in GetLightStatus() local
68 voltage = (float)vlt * VOLTAGE_1_8_V * in GetLightStatus()
70 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetLightStatus()
71 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetLightStatus()
86 float voltage; in GetGpio5Voltage() local
105 voltage = (float)vlt * VOLTAGE_1_8_V * in GetGpio5Voltage()
107 vltMax = (voltage > vltMax) ? voltage : vltMax; in GetGpio5Voltage()
108 vltMin = (voltage < vltMin) ? voltage : vltMin; in GetGpio5Voltage()
Dapp_demo_mq2.c78 float Mq2GetPpm(float voltage) in Mq2GetPpm() argument
80 float vol = voltage; in Mq2GetPpm()
120 float voltage; in Mq2GetData() local
128 voltage = (float)(data * ADC_VOLTAGE_1_8_V * in Mq2GetData()
130 combGas.g_combustibleGasValue = Mq2GetPpm(voltage); in Mq2GetData()
Dapp_demo_mq2.h27 float Mq2GetPpm(float voltage);
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/
Drobot_control.c91 float voltage; in get_gpio5_voltage() local
114 voltage = (float)vlt * a * b / c; in get_gpio5_voltage()
116 vlt_max = (voltage > vlt_max) ? voltage : vlt_max; in get_gpio5_voltage()
117 vlt_min = (voltage < vlt_min) ? voltage : vlt_min; in get_gpio5_voltage()
/vendor/hisilicon/hispark_taurus_linux/hdf_config/device/regulator/
Dregulator_config_linux.hcs11 mode = 1; /* voltage:1; current:2 */
21 supplyName = "vir-voltage-reg-hdf-adp"; /* regulator map of supply name */
Dregulator_config.hcs11 mode = 1; /* voltage:1; current:2 */
/vendor/hisilicon/hispark_taurus_linux/hdf_config/hdf_test/
Dregulator_test_config.hcs8 supplyName = "vir-voltage-reg-hdf-adp"; /* regulator map of supply name */
/vendor/hihope/Hi3861/adc_demo/
DREADME.md38 由ADC值计算对应引脚电压的公式为Value=voltage/4/1.8×4096。
/vendor/hisilicon/hispark_pegasus/demo/adc_demo/
DREADME.md38 由ADC值计算对应引脚电压的公式为Value=voltage/4/1.8×4096。
/vendor/hisilicon/hispark_taurus_mini_system/hdf_config/hdf_test/
Dregulator_test_config.hcs10 mode = 1; /* voltage:1; current:2 */
/vendor/hisilicon/hispark_taurus/hdf_config/hdf_test/
Dregulator_test_config.hcs10 mode = 1; /* voltage:1; current:2 */
/vendor/hisilicon/hispark_taurus_mini_system/hdf_config/lcd/
Dlcd_config.hcs52 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
342 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
413 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
/vendor/hisilicon/hispark_taurus/hdf_config/lcd/
Dlcd_config.hcs52 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
342 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
413 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
/vendor/hisilicon/hispark_taurus_linux/hdf_config/lcd/
Dlcd_config.hcs52 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
342 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
413 powerSetting = [0, 5, 0]; /* type: 0--gpio 1--regulator, number, voltage */
/vendor/hisilicon/watchos/patches/
Dhi3516dv300.patch26388 + /* CMD 11 check switch voltage */
26564 + pr_err("voltage switch read MCI_RESP");
26873 + * We first check whether the request is to set signalling voltage
26874 + * to 3.3V. If so, we change the voltage to 3.3V and return quickly.
26879 + himci_trace(3, "switch voltage 330");
26894 + himci_error("signalling voltage failed\n");
26900 + himci_trace(3, "switch voltage 180");
26961 + himci_error("voltage failed, retrying with S18R set to 0\n");
26964 + /* No signal voltage switch required */
27079 + /* fix a problem that When the I/O voltage is increased to 1.89 V or 1.91V
[all …]