Searched refs:PWM_FREQ_DIVISION (Results 1 - 3 of 3) sorted by relevance
/vendor/hisilicon/hispark_pegasus/demo/smart_night_light_demo/night_light/ |
H A D | night_light_demo.c | 46 #define PWM_FREQ_DIVISION 64000 macro 100 IoTPwmStart(IOT_PWM_PORT_PWM1, g_lightness, PWM_FREQ_DIVISION); in CorlorfulLightTask() 101 IoTPwmStart(IOT_PWM_PORT_PWM2, g_lightness, PWM_FREQ_DIVISION); in CorlorfulLightTask() 102 IoTPwmStart(IOT_PWM_PORT_PWM3, g_lightness, PWM_FREQ_DIVISION); in CorlorfulLightTask()
|
/vendor/hisilicon/hispark_pegasus/demo/pwmled_demo/ |
H A D | pwm_led_demo.c | 31 #define PWM_FREQ_DIVISION 64000 macro 45 PwmStart(WIFI_IOT_PWM_PORT_PWM1, i, PWM_FREQ_DIVISION); in PWMLedDemoTask()
|
/vendor/hisilicon/hispark_pegasus/demo/colorfullight_demo/ |
H A D | colorful_light_demo.c | 49 #define PWM_FREQ_DIVISION 64000 macro 80 PwmStart(WIFI_IOT_PWM_PORT_PWM3, i, PWM_FREQ_DIVISION); in CorlorfulLightTask() 94 duty[i] = PWM_FREQ_DIVISION * (unsigned int)data[i] / ADC_RESOLUTION; in CorlorfulLightTask() 96 PwmStart(port[i], duty[i], PWM_FREQ_DIVISION); in CorlorfulLightTask()
|
Completed in 2 milliseconds