Home
last modified time | relevance | path

Searched refs:VOLTAGE_4_TIMES (Results 1 - 5 of 5) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_gl5537_1.c34 #define VOLTAGE_4_TIMES (4) macro
69 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8 * 4 / 4096.0为将码字转换为电压 */ in GetLightStatus()
106 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8* 4 / 4096.0为将码字转换为电压 */ in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_gl5537_1.c34 #define VOLTAGE_4_TIMES (4) macro
68 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8 * 4 / 4096.0为将码字转换为电压 */ in GetLightStatus()
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dapp_demo_gl5537_1.c34 #define VOLTAGE_4_TIMES (4) macro
69 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8 * 4 / 4096.0为将码字转换为电压 */ in GetLightStatus()
105 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8* 4 / 4096.0为将码字转换为电压 */ in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_gl5537_1.c34 #define VOLTAGE_4_TIMES (4) macro
68 VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; /* vlt * 1.8 * 4 / 4096.0为将码字转换为电压 */ in GetLightStatus()
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNEL_RANGE; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_gl5537_1.c34 #define VOLTAGE_4_TIMES (4) macro
68 VOLTAGE_4_TIMES / ADC_CHANNAL_RANGE; /* vlt * 1.8 * 4 / 4096.0为将码字转换为电压 */ in GetLightStatus()
103 voltage = (float)vlt * VOLTAGE_1_8_V * VOLTAGE_4_TIMES / ADC_CHANNAL_RANGE; in GetGpio5Voltage()

Completed in 2 milliseconds