Home
last modified time | relevance | path

Searched refs:ADC_RESOLUTION (Results 1 – 4 of 4) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/colorfullight_demo/
Dcolorful_light_demo.c48 #define ADC_RESOLUTION 4096 macro
79 for (int i = 1; i <= ADC_RESOLUTION; i *= TWO) { in CorlorfulLightTask()
94 duty[i] = PWM_FREQ_DIVISION * (unsigned int)data[i] / ADC_RESOLUTION; in CorlorfulLightTask()
/vendor/hihope/Hi3861/colorfullight_demo/
Dcolorful_light_demo.c48 #define ADC_RESOLUTION 4096 macro
80 for (int i = 1; i <= ADC_RESOLUTION; i *= TWO) { in CorlorfulLightTask()
95 duty[i] = PWM_FREQ_DIVITION * (unsigned int)data[i] / ADC_RESOLUTION; in CorlorfulLightTask()
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/
Denvrionment_demo.c52 #define ADC_RESOLUTION 2048 macro
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/environment/
Denvironment_demo.c61 #define ADC_RESOLUTION 2048 macro