/hal_espressif-3.5.0/components/driver/test/ |
D | test_spi_sio.c | 55 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()
|
D | test_common_spi.c | 101 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()
|
D | test_spi_param.c | 75 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 …]
|
D | test_spi_master.c | 50 .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…
|
D | test_spi_bus_lock.c | 235 devcfg.spics_io_num = -1; in test_bus_lock() 334 .spics_io_num = -1,
|
D | test_spi_slave.c | 54 .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/ |
D | spi_slave.c | 101 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()
|
D | spi_master.c | 320 …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/ |
D | test_common_spi.h | 165 .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/ |
D | cmd_ethernet.c | 254 .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/ |
D | ethernet_example_main.c | 193 .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/ |
D | ethernet_example_main.c | 186 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/ |
D | simple_sniffer_example_main.c | 170 .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/ |
D | spi_slave.h | 35 int spics_io_num; ///< CS GPIO pin for this device member
|
D | spi_slave_hd.h | 77 uint32_t spics_io_num; ///< CS GPIO pin for this device member
|
D | spi_master.h | 73 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/ |
D | app_main.c | 114 .spics_io_num=GPIO_CS, in app_main()
|
/hal_espressif-3.5.0/examples/peripherals/spi_slave/sender/main/ |
D | app_main.c | 131 .spics_io_num=GPIO_CS, in app_main()
|
/hal_espressif-3.5.0/components/hal/include/hal/ |
D | spi_slave_hd_hal.h | 77 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/ |
D | app_main.c | 47 .spics_io_num = GPIO_CS, in init_driver()
|
/hal_espressif-3.5.0/examples/ethernet/enc28j60/main/ |
D | enc28j60_example_main.c | 92 .spics_io_num = CONFIG_EXAMPLE_ENC28J60_CS_GPIO, in app_main()
|
/hal_espressif-3.5.0/examples/common_components/protocol_examples_common/ |
D | connect.c | 411 .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/ |
D | app_main.c | 76 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/ |
D | app_main.c | 57 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/ |
D | app_main.c | 119 slave_hd_cfg->spics_io_num = GPIO_CS; in get_spi_slot_default_config()
|