mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 08:31:44 +01:00
change(esp_lcd): split header files by different IO interface
This commit is contained in:
@@ -176,6 +176,9 @@ INPUT = \
|
||||
$(PROJECT_PATH)/components/esp_hw_support/include/esp_random.h \
|
||||
$(PROJECT_PATH)/components/esp_hw_support/include/esp_sleep.h \
|
||||
$(PROJECT_PATH)/components/esp_hw_support/ldo/include/esp_ldo_regulator.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_io_i2c.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_io_i80.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_io_spi.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_panel_io.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_panel_ops.h \
|
||||
$(PROJECT_PATH)/components/esp_lcd/include/esp_lcd_panel_vendor.h \
|
||||
|
||||
@@ -50,3 +50,8 @@ I2C Interfaced LCD
|
||||
.reset_gpio_num = EXAMPLE_PIN_NUM_RST,
|
||||
};
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_ssd1306(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_i2c.inc
|
||||
|
||||
@@ -74,3 +74,8 @@ I80 Interfaced LCD
|
||||
.bits_per_pixel = 16,
|
||||
};
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_i80.inc
|
||||
|
||||
@@ -58,3 +58,8 @@ SPI Interfaced LCD
|
||||
};
|
||||
// Create LCD panel handle for ST7789, with the SPI IO device handle
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API Reference
|
||||
-------------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_spi.inc
|
||||
|
||||
@@ -50,3 +50,8 @@ I2C 接口的 LCD
|
||||
.reset_gpio_num = EXAMPLE_PIN_NUM_RST,
|
||||
};
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_ssd1306(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API 参考
|
||||
--------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_i2c.inc
|
||||
|
||||
@@ -74,3 +74,8 @@ I80 接口的 LCD
|
||||
.bits_per_pixel = 16,
|
||||
};
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API 参考
|
||||
--------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_i80.inc
|
||||
|
||||
@@ -58,3 +58,8 @@ SPI 接口的 LCD
|
||||
};
|
||||
// 为 ST7789 创建 LCD 面板句柄,并指定 SPI IO 设备句柄
|
||||
ESP_ERROR_CHECK(esp_lcd_new_panel_st7789(io_handle, &panel_config, &panel_handle));
|
||||
|
||||
API 参考
|
||||
--------
|
||||
|
||||
.. include-build-file:: inc/esp_lcd_io_spi.inc
|
||||
|
||||
Reference in New Issue
Block a user