46 #define lws_pwm_plat_ops \
47 .init = lws_pwm_plat_init, \
48 .intensity = lws_pwm_plat_intensity
uint16_t lws_led_seq_phase_t
uint16_t lws_led_intensity_t
const lws_led_sequence_def_t lws_pwmseq_sine_down
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t lws_led_func_sine(lws_led_seq_phase_t n)
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t lws_led_func_linear(lws_led_seq_phase_t n)
const lws_led_sequence_def_t lws_pwmseq_static_on
const lws_led_sequence_def_t lws_pwmseq_static_half
const lws_led_sequence_def_t lws_pwmseq_sine_endless_slow
struct lws_pwm_ops lws_pwm_ops_t
const lws_led_sequence_def_t lws_pwmseq_linear_wipe
struct lws_pwm_map lws_pwm_map_t
LWS_VISIBLE LWS_EXTERN int lws_pwm_plat_init(const struct lws_pwm_ops *lo)
const lws_led_sequence_def_t lws_pwmseq_sine_up
const lws_led_sequence_def_t lws_pwmseq_sine_endless_fast
const lws_led_sequence_def_t lws_pwmseq_static_off
LWS_VISIBLE LWS_EXTERN void lws_pwm_plat_intensity(const struct lws_pwm_ops *lo, _lws_plat_gpio_t gpio, lws_led_intensity_t inten)
const lws_pwm_map_t * pwm_map
void(* intensity)(const struct lws_pwm_ops *lo, _lws_plat_gpio_t gpio, lws_led_intensity_t inten)
int(* init)(const struct lws_pwm_ops *lo)