static void LCD_bl_close(__u32 sel) { //LCD_BL_EN(sel, 0);//config lcd_bl_en pin to close lcd backlight axp_gpio_set_io(1, 1); axp_gpio_set_value(1, 0); LCD_PWM_EN(sel, 0);//close pwm module }
static void LCD_bl_open(__u32 sel) { LCD_PWM_EN(sel, 1);//open pwm module //LCD_BL_EN(sel, 1);//config lcd_bl_en pin to open lcd backlight axp_gpio_set_io(1, 1); axp_gpio_set_value(1, 1); }
static void LCD_bl_close(__u32 sel) { LCD_BL_EN(sel, 0); LCD_PWM_EN(sel, 0); }
static void LCD_bl_open(__u32 sel) { LCD_PWM_EN(sel, 1); LCD_BL_EN(sel, 1); }
static void LCD_bl_close(__u32 sel) { LCD_BL_EN(sel, 0);//config lcd_bl_en pin to close lcd backlight LCD_PWM_EN(sel, 0);//close pwm module }
static void LCD_bl_open(__u32 sel) { LCD_PWM_EN(sel, 1);//open pwm module LCD_BL_EN(sel, 1);//config lcd_bl_en pin to open lcd backlight }