Provide README section about backlight control
This commit is contained in:
parent
11c240daca
commit
2d6ea1330c
2 changed files with 14 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue