Function esp_idf_sys::esp_lcd_panel_disp_sleep
source ยท pub unsafe extern "C" fn esp_lcd_panel_disp_sleep(
panel: esp_lcd_panel_handle_t,
sleep: bool,
) -> esp_err_t
Expand description
@brief Enter or exit sleep mode
@param[in] panel LCD panel handle, which is created by other factory API like esp_lcd_new_panel_st7789()
@param[in] sleep True to enter sleep mode, False to wake up
@return
- ESP_OK on success
- ESP_ERR_NOT_SUPPORTED if this function is not supported by the panel