libwebsockets
Lightweight C library for HTML5 websockets
|
Go to the source code of this file.
Data Structures | |
struct | lws_pwm_map |
struct | lws_pwm_ops |
Macros | |
#define | lws_pwm_plat_ops |
Typedefs | |
typedef struct lws_pwm_map | lws_pwm_map_t |
typedef struct lws_pwm_ops | lws_pwm_ops_t |
Functions | |
LWS_VISIBLE LWS_EXTERN int | lws_pwm_plat_init (const struct lws_pwm_ops *lo) |
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) |
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t | lws_led_func_linear (lws_led_seq_phase_t n) |
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t | lws_led_func_sine (lws_led_seq_phase_t n) |
struct lws_pwm_map |
Data Fields | ||
---|---|---|
_lws_plat_gpio_t | gpio | |
uint8_t | index | |
uint8_t | active_level |
#define lws_pwm_plat_ops |
typedef struct lws_pwm_map lws_pwm_map_t |
typedef struct lws_pwm_ops lws_pwm_ops_t |
LWS_VISIBLE LWS_EXTERN int lws_pwm_plat_init | ( | const struct lws_pwm_ops * | lo | ) |
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 | ||
) |
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t lws_led_func_linear | ( | lws_led_seq_phase_t | n | ) |
LWS_VISIBLE LWS_EXTERN lws_led_intensity_t lws_led_func_sine | ( | lws_led_seq_phase_t | n | ) |
|
extern |
const lws_led_sequence_def_t lws_pwmseq_sine_endless_fast |
const lws_led_sequence_def_t lws_pwmseq_linear_wipe |
const lws_led_sequence_def_t lws_pwmseq_sine_up |
const lws_led_sequence_def_t lws_pwmseq_sine_down |
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_static_off |