Home
last modified time | relevance | path

Searched refs:voltage (Results 1 - 8 of 8) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A 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 in GetGpio5Voltage()
[all...]
H A 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()
H A Dapp_demo_mq2.h27 float Mq2GetPpm(float voltage);
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A 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 in GetGpio5Voltage()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A 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 in GetGpio5Voltage()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A 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 in GetGpio5Voltage()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A 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 in GetGpio5Voltage()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/robot_demo/robot_car/
H A 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()

Completed in 5 milliseconds