Home
last modified time | relevance | path

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 Dnight_light_demo.c46 #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 Dpwm_led_demo.c31 #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 Dcolorful_light_demo.c49 #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