Home
last modified time | relevance | path

Searched refs:spics_io_num (Results 1 – 25 of 27) sorted by relevance

12

/hal_espressif-2.7.6/components/driver/test/
Dtest_spi_sio.c49 slv_cfg.spics_io_num = dev_cfg.spics_io_num;
63 …spitest_gpio_output_sel(dev_cfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_ou…
182 slv_cfg.spics_io_num = spi_periph_signal[TEST_SLAVE_HOST].spics0_iomux_pin; in test_sio_slave_round()
Dtest_common_spi.c96 void slave_pull_up(const spi_bus_config_t* cfg, int spics_io_num) in slave_pull_up() argument
100 gpio_set_pull_mode(spics_io_num, GPIO_PULLUP_ONLY); in slave_pull_up()
226 …spitest_gpio_output_sel(dev.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out[cs… in same_pin_func_sel()
227 … spitest_gpio_input_sel(dev.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SLAVE_HOST].spics_in); in same_pin_func_sel()
Dtest_spi_param.c70 devcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in local_test_start()
71 slvcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in local_test_start()
76 devcfg.spics_io_num = MASTER_IOMUX_PIN_CS; in local_test_start()
77 slvcfg.spics_io_num = MASTER_IOMUX_PIN_CS; in local_test_start()
100 slave_pull_up(&buscfg, slvcfg.spics_io_num); in local_test_start()
115 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_SPI, spi_periph_signal[TEST_SPI_HOST].spics_out[… in local_test_start()
120 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out… in local_test_start()
125 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out… in local_test_start()
689 devpset.spics_io_num = MASTER_IOMUX_PIN_CS; in test_master_start()
823 slvcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in timing_slave_start()
[all …]
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,
274 master_cfg.spics_io_num = cs; in test_master_pins()
301 slave_cfg.spics_io_num = cs; in test_slave_pins()
496 device_config.spics_io_num = -1;
669 .spics_io_num=PIN_NUM_CS, //CS pin
752 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out… in test_cmd_addr()
938 …spitest_gpio_output_sel(dev_cfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_ou…
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()
Dtest_spi_bus_lock.c230 devcfg.spics_io_num = -1; in test_bus_lock()
329 .spics_io_num = -1,
/hal_espressif-2.7.6/components/driver/
Dspi_slave.c109 gpio_iomux_in(host->cfg.spics_io_num, spi_periph_signal[host->id].spics_in); in restore_cs()
111 …esp_rom_gpio_connect_in_signal(host->cfg.spics_io_num, spi_periph_signal[host->id].spics_in, false… in restore_cs()
134 …SPI_CHECK(slave_config->spics_io_num < 0 || GPIO_IS_VALID_GPIO(slave_config->spics_io_num), "spics… in spi_slave_initialize()
162 if (slave_config->spics_io_num >= 0) { in spi_slave_initialize()
163 spicommon_cs_initialize(host, slave_config->spics_io_num, 0, !bus_is_iomux(spihost[host])); in spi_slave_initialize()
Dspi_master.c328 …SPI_CHECK(dev_config->spics_io_num < 0 || GPIO_IS_VALID_OUTPUT_GPIO(dev_config->spics_io_num), "sp… in spi_bus_add_device()
336 uint32_t lock_flag = ((dev_config->spics_io_num != -1)? SPI_BUS_LOCK_DEV_FLAG_CS_REQUIRED: 0); in spi_bus_add_device()
391 if (dev_config->spics_io_num >= 0) { in spi_bus_add_device()
392 spicommon_cs_initialize(host_id, dev_config->spics_io_num, freecs, use_gpio); in spi_bus_add_device()
447 int spics_io_num = handle->cfg.spics_io_num; in spi_bus_remove_device() local
448 if (spics_io_num >= 0) spicommon_cs_free_io(spics_io_num); in spi_bus_remove_device()
Dspi_slave_hd.c110 gpio_set_direction(config->spics_io_num, GPIO_MODE_INPUT); in spi_slave_hd_init()
111 spicommon_cs_initialize(host_id, config->spics_io_num, 0, in spi_slave_hd_init()
/hal_espressif-2.7.6/components/driver/test/include/test/
Dtest_common_spi.h159 .spics_io_num=PIN_NUM_CS,\
170 .spics_io_num=PIN_NUM_CS,\
248 void slave_pull_up(const spi_bus_config_t* cfg, int spics_io_num);
/hal_espressif-2.7.6/examples/ethernet/basic/main/
Dethernet_example_main.c119 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in app_main()
134 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in app_main()
/hal_espressif-2.7.6/components/driver/include/driver/
Dspi_slave.h43 int spics_io_num; ///< CS GPIO pin for this device member
Dspi_slave_hd.h85 uint32_t spics_io_num; ///< CS GPIO pin for this device member
Dspi_master.h81 int spics_io_num; ///< CS GPIO pin for this device, or -1 if not used member
/hal_espressif-2.7.6/examples/ethernet/eth2ap/main/
Dethernet_example_main.c192 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in initialize_ethernet()
207 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in initialize_ethernet()
/hal_espressif-2.7.6/examples/peripherals/spi_slave/receiver/main/
Dapp_main.c113 .spics_io_num=GPIO_CS, in app_main()
/hal_espressif-2.7.6/examples/peripherals/spi_slave/sender/main/
Dapp_main.c130 .spics_io_num=GPIO_CS, in app_main()
/hal_espressif-2.7.6/examples/ethernet/iperf/main/
Dcmd_ethernet.c228 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
243 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
/hal_espressif-2.7.6/components/hal/include/hal/
Dspi_slave_hd_hal.h77 uint32_t spics_io_num; ///< CS GPIO pin for this device member
/hal_espressif-2.7.6/examples/ethernet/enc28j60/main/
Denc28j60_example_main.c97 .spics_io_num = CONFIG_EXAMPLE_ENC28J60_CS_GPIO, in app_main()
/hal_espressif-2.7.6/examples/common_components/protocol_examples_common/
Dconnect.c382 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in eth_start()
397 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in eth_start()
/hal_espressif-2.7.6/examples/peripherals/spi_slave_hd/segment_mode/seg_master/main/
Dapp_main.c76 dev_cfg->spics_io_num = GPIO_CS; in get_spi_device_default_config()
/hal_espressif-2.7.6/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/main/
Dapp_main.c119 slave_hd_cfg->spics_io_num = GPIO_CS; in get_spi_slot_default_config()
/hal_espressif-2.7.6/examples/peripherals/spi_master/lcd/main/
Dspi_master_example_main.c437 .spics_io_num=PIN_NUM_CS, //CS pin in app_main()
/hal_espressif-2.7.6/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dspi_eeprom.c161 .spics_io_num = -1, in spi_eeprom_init()

12