Provide README section about backlight control

This commit is contained in:
Tomas Rezucha 2021-08-04 09:38:05 +02:00
parent 11c240daca
commit 2d6ea1330c
2 changed files with 14 additions and 1 deletions

View file

@ -27,6 +27,7 @@ typedef void * disp_backlight_h;
/**
* @brief Configuration structure of backlight controller
*
* Must be passed to disp_backlight_new() for correct configuration
*/
typedef struct {
bool pwm_control;
@ -35,7 +36,7 @@ typedef struct {
// Relevant only for PWM controlled backlight
// Ignored for switch (ON/OFF) backlight control
int timer_idx; // ledc_timer_t
int timer_idx; // ledc_timer_t
int channel_idx; // ledc_channel_t
} disp_backlight_config_t;