1 /* 2 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "soc/lcd_periph.h" 8 #include "soc/gpio_sig_map.h" 9 10 const lcd_signal_conn_t lcd_periph_signals = { 11 .buses = { 12 [0] = { 13 .module = PERIPH_LCD_CAM_MODULE, 14 .irq_id = ETS_LCD_CAM_INTR_SOURCE, 15 .data_sigs = { 16 LCD_DATA_OUT0_IDX, 17 LCD_DATA_OUT1_IDX, 18 LCD_DATA_OUT2_IDX, 19 LCD_DATA_OUT3_IDX, 20 LCD_DATA_OUT4_IDX, 21 LCD_DATA_OUT5_IDX, 22 LCD_DATA_OUT6_IDX, 23 LCD_DATA_OUT7_IDX, 24 LCD_DATA_OUT8_IDX, 25 LCD_DATA_OUT9_IDX, 26 LCD_DATA_OUT10_IDX, 27 LCD_DATA_OUT11_IDX, 28 LCD_DATA_OUT12_IDX, 29 LCD_DATA_OUT13_IDX, 30 LCD_DATA_OUT14_IDX, 31 LCD_DATA_OUT15_IDX, 32 }, 33 .cs_sig = LCD_CS_IDX, 34 .dc_sig = LCD_DC_IDX, 35 .wr_sig = LCD_PCLK_IDX 36 } 37 }, 38 .panels = { 39 [0] = { 40 .module = PERIPH_LCD_CAM_MODULE, 41 .irq_id = ETS_LCD_CAM_INTR_SOURCE, 42 .data_sigs = { 43 LCD_DATA_OUT0_IDX, 44 LCD_DATA_OUT1_IDX, 45 LCD_DATA_OUT2_IDX, 46 LCD_DATA_OUT3_IDX, 47 LCD_DATA_OUT4_IDX, 48 LCD_DATA_OUT5_IDX, 49 LCD_DATA_OUT6_IDX, 50 LCD_DATA_OUT7_IDX, 51 LCD_DATA_OUT8_IDX, 52 LCD_DATA_OUT9_IDX, 53 LCD_DATA_OUT10_IDX, 54 LCD_DATA_OUT11_IDX, 55 LCD_DATA_OUT12_IDX, 56 LCD_DATA_OUT13_IDX, 57 LCD_DATA_OUT14_IDX, 58 LCD_DATA_OUT15_IDX, 59 }, 60 .hsync_sig = LCD_H_SYNC_IDX, 61 .vsync_sig = LCD_V_SYNC_IDX, 62 .pclk_sig = LCD_PCLK_IDX, 63 .de_sig = LCD_H_ENABLE_IDX, 64 } 65 } 66 }; 67