/hal_espressif-2.7.6/components/driver/test/ |
D | test_spi_sio.c | 49 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()
|
D | test_common_spi.c | 96 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()
|
D | test_spi_param.c | 70 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 …]
|
D | test_spi_master.c | 42 .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…
|
D | test_spi_slave.c | 44 .spics_io_num=PIN_NUM_CS, //CS pin in master_init_nodma() 69 .spics_io_num=PIN_NUM_CS, in slave_init()
|
D | test_spi_bus_lock.c | 230 devcfg.spics_io_num = -1; in test_bus_lock() 329 .spics_io_num = -1,
|
/hal_espressif-2.7.6/components/driver/ |
D | spi_slave.c | 109 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()
|
D | spi_master.c | 328 …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()
|
D | spi_slave_hd.c | 110 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/ |
D | test_common_spi.h | 159 .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/ |
D | ethernet_example_main.c | 119 .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/ |
D | spi_slave.h | 43 int spics_io_num; ///< CS GPIO pin for this device member
|
D | spi_slave_hd.h | 85 uint32_t spics_io_num; ///< CS GPIO pin for this device member
|
D | spi_master.h | 81 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/ |
D | ethernet_example_main.c | 192 .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/ |
D | app_main.c | 113 .spics_io_num=GPIO_CS, in app_main()
|
/hal_espressif-2.7.6/examples/peripherals/spi_slave/sender/main/ |
D | app_main.c | 130 .spics_io_num=GPIO_CS, in app_main()
|
/hal_espressif-2.7.6/examples/ethernet/iperf/main/ |
D | cmd_ethernet.c | 228 .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/ |
D | spi_slave_hd_hal.h | 77 uint32_t spics_io_num; ///< CS GPIO pin for this device member
|
/hal_espressif-2.7.6/examples/ethernet/enc28j60/main/ |
D | enc28j60_example_main.c | 97 .spics_io_num = CONFIG_EXAMPLE_ENC28J60_CS_GPIO, in app_main()
|
/hal_espressif-2.7.6/examples/common_components/protocol_examples_common/ |
D | connect.c | 382 .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/ |
D | app_main.c | 76 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/ |
D | app_main.c | 119 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/ |
D | spi_master_example_main.c | 437 .spics_io_num=PIN_NUM_CS, //CS pin in app_main()
|
/hal_espressif-2.7.6/examples/peripherals/spi_master/hd_eeprom/components/eeprom/ |
D | spi_eeprom.c | 161 .spics_io_num = -1, in spi_eeprom_init()
|