Home
last modified time | relevance | path

Searched refs:cs_gpio_num (Results 1 – 10 of 10) sorted by relevance

/hal_espressif-3.6.0/components/esp_lcd/test/
Dtest_i80_lcd_panel.c36 .cs_gpio_num = TEST_LCD_CS_GPIO,
98 .cs_gpio_num = TEST_LCD_CS_GPIO,
160 .cs_gpio_num = TEST_LCD_CS_GPIO,
201 .cs_gpio_num = -1, // own the bus exclusively
208 io_config.cs_gpio_num = 0;
243 .cs_gpio_num = TEST_LCD_CS_GPIO,
362 .cs_gpio_num = TEST_LCD_CS_GPIO,
455 .cs_gpio_num = TEST_LCD_CS_GPIO,
530 .cs_gpio_num = TEST_LCD_CS_GPIO,
Dtest_spi_lcd_panel.c48 .cs_gpio_num = TEST_LCD_CS_GPIO, in lcd_initialize_spi()
/hal_espressif-3.6.0/components/esp_lcd/src/
Desp_lcd_panel_io_i80.c87 int cs_gpio_num; // GPIO used for CS line member
230 bus->flags.exclusive = io_config->cs_gpio_num < 0; in esp_lcd_new_panel_io_i80()
263 i80_device->cs_gpio_num = io_config->cs_gpio_num; in esp_lcd_new_panel_io_i80()
277 if (io_config->cs_gpio_num >= 0) { in esp_lcd_new_panel_io_i80()
278 gpio_set_level(io_config->cs_gpio_num, !io_config->flags.cs_active_high); in esp_lcd_new_panel_io_i80()
279 gpio_set_direction(io_config->cs_gpio_num, GPIO_MODE_OUTPUT); in esp_lcd_new_panel_io_i80()
280 gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[io_config->cs_gpio_num], PIN_FUNC_GPIO); in esp_lcd_new_panel_io_i80()
559 if (cur_device && cur_device->cs_gpio_num >= 0) { in lcd_i80_switch_devices()
561 … esp_rom_gpio_connect_out_signal(cur_device->cs_gpio_num, SIG_GPIO_OUT_IDX, false, false); in lcd_i80_switch_devices()
563 if (next_device->cs_gpio_num >= 0) { in lcd_i80_switch_devices()
[all …]
Desp_lcd_panel_io_i2s.c94 int cs_gpio_num; // GPIO used for CS line member
244 bus->flags.exclusive = io_config->cs_gpio_num < 0; in esp_lcd_new_panel_io_i80()
275 i80_device->cs_gpio_num = io_config->cs_gpio_num; in esp_lcd_new_panel_io_i80()
285 if (io_config->cs_gpio_num >= 0) { in esp_lcd_new_panel_io_i80()
287 … gpio_set_level(io_config->cs_gpio_num, !io_config->flags.cs_active_high); // de-assert by default in esp_lcd_new_panel_io_i80()
288 gpio_set_direction(io_config->cs_gpio_num, GPIO_MODE_OUTPUT); in esp_lcd_new_panel_io_i80()
289 gpio_hal_iomux_func_sel(GPIO_PIN_MUX_REG[io_config->cs_gpio_num], PIN_FUNC_GPIO); in esp_lcd_new_panel_io_i80()
664 if (cur_device && cur_device->cs_gpio_num >= 0) { // de-assert current device in lcd_i80_switch_devices()
665 gpio_set_level(cur_device->cs_gpio_num, !cur_device->flags.cs_active_high); in lcd_i80_switch_devices()
667 if (next_device->cs_gpio_num >= 0) { in lcd_i80_switch_devices()
[all …]
Desp_lcd_panel_io_spi.c68 .spics_io_num = io_config->cs_gpio_num, in esp_lcd_new_panel_io_spi()
/hal_espressif-3.6.0/components/esp_lcd/include/
Desp_lcd_panel_io.h88 int cs_gpio_num; /*!< GPIO used for CS line */ member
184 …int cs_gpio_num; /*!< GPIO used for CS line, set to -1 will declaim exclusively use of I80… member
/hal_espressif-3.6.0/examples/peripherals/lcd/tjpgd/main/
Dlcd_tjpgd_example_main.c117 .cs_gpio_num = EXAMPLE_PIN_NUM_CS, in app_main()
/hal_espressif-3.6.0/components/driver/
Dspi_common.c718 void spicommon_cs_free_io(int cs_gpio_num) in spicommon_cs_free_io() argument
720 assert(cs_gpio_num>=0 && GPIO_IS_VALID_GPIO(cs_gpio_num)); in spicommon_cs_free_io()
721 gpio_reset_pin(cs_gpio_num); in spicommon_cs_free_io()
/hal_espressif-3.6.0/components/driver/include/driver/
Dspi_common_internal.h211 void spicommon_cs_free_io(int cs_gpio_num);
/hal_espressif-3.6.0/examples/peripherals/lcd/lvgl/main/
Dlvgl_example_main.c110 .cs_gpio_num = EXAMPLE_PIN_NUM_CS, in app_main()