Home
last modified time | relevance | path

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

12

/hal_espressif-3.5.0/components/driver/test/
Dtest_spi_sio.c55 slv_cfg.spics_io_num = dev_cfg.spics_io_num;
69 …spitest_gpio_output_sel(dev_cfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_ou…
190 slv_cfg.spics_io_num = spi_periph_signal[TEST_SLAVE_HOST].spics0_iomux_pin; in test_sio_slave_round()
Dtest_common_spi.c101 void slave_pull_up(const spi_bus_config_t* cfg, int spics_io_num) in slave_pull_up() argument
105 gpio_set_pull_mode(spics_io_num, GPIO_PULLUP_ONLY); in slave_pull_up()
231 …spitest_gpio_output_sel(dev.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out[cs… in same_pin_func_sel()
232 … 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.c75 devcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in local_test_start()
76 slvcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in local_test_start()
81 devcfg.spics_io_num = MASTER_IOMUX_PIN_CS; in local_test_start()
82 slvcfg.spics_io_num = MASTER_IOMUX_PIN_CS; in local_test_start()
105 slave_pull_up(&buscfg, slvcfg.spics_io_num); in local_test_start()
120 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_SPI, 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()
130 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out… in local_test_start()
694 devpset.spics_io_num = MASTER_IOMUX_PIN_CS; in test_master_start()
828 slvcfg.spics_io_num = SLAVE_IOMUX_PIN_CS; in timing_slave_start()
[all …]
Dtest_spi_master.c50 .spics_io_num = PIN_NUM_CS, in check_spi_pre_n_for()
119 .spics_io_num = PIN_NUM_CS, in setup_spi_bus_loopback()
252 .spics_io_num = PIN_NUM_CS,
295 master_cfg.spics_io_num = cs; in test_master_pins()
322 slave_cfg.spics_io_num = cs; in test_slave_pins()
557 device_config.spics_io_num = -1;
730 .spics_io_num = PIN_NUM_CS, //CS pin
817 …spitest_gpio_output_sel(devcfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_out… in test_cmd_addr()
1005 …spitest_gpio_output_sel(dev_cfg.spics_io_num, FUNC_GPIO, spi_periph_signal[TEST_SPI_HOST].spics_ou…
Dtest_spi_bus_lock.c235 devcfg.spics_io_num = -1; in test_bus_lock()
334 .spics_io_num = -1,
Dtest_spi_slave.c54 .spics_io_num=PIN_NUM_CS, //CS pin in master_init()
79 .spics_io_num=PIN_NUM_CS, in slave_init()
/hal_espressif-3.5.0/components/driver/
Dspi_slave.c101 gpio_iomux_in(host->cfg.spics_io_num, spi_periph_signal[host->id].spics_in); in restore_cs()
103 …esp_rom_gpio_connect_in_signal(host->cfg.spics_io_num, spi_periph_signal[host->id].spics_in, false… in restore_cs()
126 …SPI_CHECK(slave_config->spics_io_num < 0 || GPIO_IS_VALID_GPIO(slave_config->spics_io_num), "spics… in spi_slave_initialize()
154 if (slave_config->spics_io_num >= 0) { in spi_slave_initialize()
155 spicommon_cs_initialize(host, slave_config->spics_io_num, 0, !bus_is_iomux(spihost[host])); in spi_slave_initialize()
Dspi_master.c320 …SPI_CHECK(dev_config->spics_io_num < 0 || GPIO_IS_VALID_OUTPUT_GPIO(dev_config->spics_io_num), "sp… in spi_bus_add_device()
328 uint32_t lock_flag = ((dev_config->spics_io_num != -1)? SPI_BUS_LOCK_DEV_FLAG_CS_REQUIRED: 0); in spi_bus_add_device()
383 if (dev_config->spics_io_num >= 0) { in spi_bus_add_device()
384 spicommon_cs_initialize(host_id, dev_config->spics_io_num, freecs, use_gpio); in spi_bus_add_device()
439 int spics_io_num = handle->cfg.spics_io_num; in spi_bus_remove_device() local
440 if (spics_io_num >= 0) spicommon_cs_free_io(spics_io_num); in spi_bus_remove_device()
/hal_espressif-3.5.0/components/driver/test/include/test/
Dtest_common_spi.h165 .spics_io_num=PIN_NUM_CS,\
176 .spics_io_num=PIN_NUM_CS,\
254 void slave_pull_up(const spi_bus_config_t* cfg, int spics_io_num);
/hal_espressif-3.5.0/examples/ethernet/iperf/main/
Dcmd_ethernet.c254 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
269 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
284 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
300 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in register_ethernet()
/hal_espressif-3.5.0/examples/ethernet/eth2ap/main/
Dethernet_example_main.c193 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in initialize_ethernet()
208 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in initialize_ethernet()
223 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in initialize_ethernet()
/hal_espressif-3.5.0/examples/ethernet/basic/main/
Dethernet_example_main.c186 devcfg.spics_io_num = spi_eth_module_config[i].spi_cs_gpio; in app_main()
211 devcfg.spics_io_num = spi_eth_module_config[i].spi_cs_gpio; in app_main()
236 devcfg.spics_io_num = spi_eth_module_config[i].spi_cs_gpio; in app_main()
/hal_espressif-3.5.0/examples/network/simple_sniffer/main/
Dsimple_sniffer_example_main.c170 .spics_io_num = CONFIG_SNIFFER_ETH_SPI_CS_GPIO, in initialize_eth()
185 .spics_io_num = CONFIG_SNIFFER_ETH_SPI_CS_GPIO, in initialize_eth()
200 .spics_io_num = CONFIG_SNIFFER_ETH_SPI_CS_GPIO, in initialize_eth()
/hal_espressif-3.5.0/components/driver/include/driver/
Dspi_slave.h35 int spics_io_num; ///< CS GPIO pin for this device member
Dspi_slave_hd.h77 uint32_t spics_io_num; ///< CS GPIO pin for this device member
Dspi_master.h73 int spics_io_num; ///< CS GPIO pin for this device, or -1 if not used member
/hal_espressif-3.5.0/examples/peripherals/spi_slave/receiver/main/
Dapp_main.c114 .spics_io_num=GPIO_CS, in app_main()
/hal_espressif-3.5.0/examples/peripherals/spi_slave/sender/main/
Dapp_main.c131 .spics_io_num=GPIO_CS, in app_main()
/hal_espressif-3.5.0/components/hal/include/hal/
Dspi_slave_hd_hal.h77 uint32_t spics_io_num; ///< CS GPIO pin for this device member
/hal_espressif-3.5.0/examples/peripherals/spi_slave_hd/append_mode/master/main/
Dapp_main.c47 .spics_io_num = GPIO_CS, in init_driver()
/hal_espressif-3.5.0/examples/ethernet/enc28j60/main/
Denc28j60_example_main.c92 .spics_io_num = CONFIG_EXAMPLE_ENC28J60_CS_GPIO, in app_main()
/hal_espressif-3.5.0/examples/common_components/protocol_examples_common/
Dconnect.c411 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in eth_start()
426 .spics_io_num = CONFIG_EXAMPLE_ETH_SPI_CS_GPIO, in eth_start()
/hal_espressif-3.5.0/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-3.5.0/examples/peripherals/spi_slave_hd/append_mode/slave/main/
Dapp_main.c57 slave_hd_cfg.spics_io_num = GPIO_CS; in init_slave_hd()
/hal_espressif-3.5.0/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()

12