26 _lws_plat_gpio_t gpio;
33 void (*intensity)(
const struct lws_pwm_ops *lo, _lws_plat_gpio_t gpio,
34 lws_led_intensity_t inten);
36 uint8_t count_pwm_map;
39 LWS_VISIBLE LWS_EXTERN
int
42 LWS_VISIBLE LWS_EXTERN
void
43 lws_pwm_plat_intensity(
const struct lws_pwm_ops *lo, _lws_plat_gpio_t gpio,
44 lws_led_intensity_t inten);
46 #define lws_pwm_plat_ops \
47 .init = lws_pwm_plat_init, \
48 .intensity = lws_pwm_plat_intensity
54 LWS_VISIBLE LWS_EXTERN lws_led_intensity_t
55 lws_led_func_linear(lws_led_seq_phase_t n);
56 LWS_VISIBLE LWS_EXTERN lws_led_intensity_t
57 lws_led_func_sine(lws_led_seq_phase_t n);
62 lws_pwmseq_sine_endless_fast,
63 lws_pwmseq_linear_wipe,
64 lws_pwmseq_sine_up, lws_pwmseq_sine_down,
66 lws_pwmseq_static_half,
67 lws_pwmseq_static_off;