Home
last modified time | relevance | path

Searched refs:PIN_NUM_CS (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-2.7.6/examples/peripherals/spi_master/hd_eeprom/main/
Dspi_eeprom_main.c42 # define PIN_NUM_CS 13 macro
50 # define PIN_NUM_CS 34 macro
58 # define PIN_NUM_CS 10 macro
84 .cs_io = PIN_NUM_CS, in app_main()
/hal_espressif-2.7.6/components/driver/test/include/test/
Dtest_common_spi.h25 #define PIN_NUM_CS SPI2_IOMUX_PIN_NUM_CS macro
56 #define PIN_NUM_CS SPI2_IOMUX_PIN_NUM_CS macro
88 #define PIN_NUM_CS SPI2_IOMUX_PIN_NUM_CS macro
159 .spics_io_num=PIN_NUM_CS,\
170 .spics_io_num=PIN_NUM_CS,\
/hal_espressif-2.7.6/examples/storage/sd_card/main/
Dsd_card_example_main.c61 #define PIN_NUM_CS 13 macro
67 #define PIN_NUM_CS 19 macro
137 slot_config.gpio_cs = PIN_NUM_CS; in app_main()
/hal_espressif-2.7.6/examples/protocols/http_server/file_serving/main/
Dmain.c72 #define PIN_NUM_CS 10 macro
77 #define PIN_NUM_CS 13 macro
180 slot_config.gpio_cs = PIN_NUM_CS; in sdcard_mount()
/hal_espressif-2.7.6/examples/peripherals/spi_master/lcd/main/
Dspi_master_example_main.c38 #define PIN_NUM_CS 22 macro
50 #define PIN_NUM_CS 34 macro
62 #define PIN_NUM_CS 10 macro
437 .spics_io_num=PIN_NUM_CS, //CS pin in app_main()
/hal_espressif-2.7.6/components/driver/test/
Dtest_spi_slave.c44 .spics_io_num=PIN_NUM_CS, //CS pin in master_init_nodma()
69 .spics_io_num=PIN_NUM_CS, in slave_init()
76 gpio_set_pull_mode(PIN_NUM_CS, GPIO_PULLUP_ONLY); in slave_init()
97 …int_connect( PIN_NUM_CS, spi_periph_signal[TEST_SPI_HOST].spics_out[0], spi_periph_signal[TEST…
Dtest_spi_master.c42 .spics_io_num=PIN_NUM_CS, in check_spi_pre_n_for()
110 .spics_io_num=PIN_NUM_CS, in setup_spi_bus_loopback()
231 .spics_io_num=PIN_NUM_CS,
314 TEST_ESP_OK(test_master_pins(PIN_NUM_MOSI, PIN_NUM_MISO, PIN_NUM_CLK, PIN_NUM_CS));
315 TEST_ASSERT(test_master_pins(INPUT_ONLY_PIN, PIN_NUM_MISO, PIN_NUM_CLK, PIN_NUM_CS) != ESP_OK);
316 TEST_ESP_OK(test_master_pins(PIN_NUM_MOSI, INPUT_ONLY_PIN, PIN_NUM_CLK, PIN_NUM_CS));
317 TEST_ASSERT(test_master_pins(PIN_NUM_MOSI, PIN_NUM_MISO, INPUT_ONLY_PIN, PIN_NUM_CS) != ESP_OK);
319 TEST_ESP_OK(test_slave_pins(PIN_NUM_MOSI, PIN_NUM_MISO, PIN_NUM_CLK, PIN_NUM_CS));
320 TEST_ESP_OK(test_slave_pins(INPUT_ONLY_PIN, PIN_NUM_MISO, PIN_NUM_CLK, PIN_NUM_CS));
321 TEST_ASSERT(test_slave_pins(PIN_NUM_MOSI, INPUT_ONLY_PIN, PIN_NUM_CLK, PIN_NUM_CS) != ESP_OK);
[all …]
Dtest_spi_slave_hd.c32 .spics_io_num = PIN_NUM_CS, \
85 … esp_rom_gpio_connect_out_signal(PIN_NUM_CS, spi_periph_signal[TEST_SPI_HOST].spics_out[0], 0, 0); in config_single_board_test_pin()
86 esp_rom_gpio_connect_in_signal(PIN_NUM_CS, spi_periph_signal[TEST_SLAVE_HOST].spics_in, 0); in config_single_board_test_pin()