/hal_espressif-2.7.6/components/console/ |
D | esp_console_repl.c | 64 esp_err_t esp_console_new_repl_usb_cdc(const esp_console_dev_usb_cdc_config_t *dev_config, const es… in esp_console_new_repl_usb_cdc() argument 68 if (!repl_config | !dev_config | !ret_repl) { in esp_console_new_repl_usb_cdc() 128 esp_err_t esp_console_new_repl_uart(const esp_console_dev_uart_config_t *dev_config, const esp_cons… in esp_console_new_repl_uart() argument 132 if (!repl_config | !dev_config | !ret_repl) { in esp_console_new_repl_uart() 151 esp_vfs_dev_uart_port_set_rx_line_endings(dev_config->channel, ESP_LINE_ENDINGS_CR); in esp_console_new_repl_uart() 153 esp_vfs_dev_uart_port_set_tx_line_endings(dev_config->channel, ESP_LINE_ENDINGS_CRLF); in esp_console_new_repl_uart() 159 .baud_rate = dev_config->baud_rate, in esp_console_new_repl_uart() 170 uart_param_config(dev_config->channel, &uart_config); in esp_console_new_repl_uart() 171 uart_set_pin(dev_config->channel, dev_config->tx_gpio_num, dev_config->rx_gpio_num, -1, -1); in esp_console_new_repl_uart() 174 ret = uart_driver_install(dev_config->channel, 256, 0, 0, NULL, 0); in esp_console_new_repl_uart() [all …]
|
D | esp_console.h | 319 esp_err_t esp_console_new_repl_uart(const esp_console_dev_uart_config_t *dev_config, const esp_cons… 340 esp_err_t esp_console_new_repl_usb_cdc(const esp_console_dev_usb_cdc_config_t *dev_config, const es…
|
/hal_espressif-2.7.6/examples/peripherals/pcnt/rotary_encoder/components/rotary_encoder/src/ |
D | rotary_encoder_pcnt_ec11.c | 118 pcnt_config_t dev_config = { in rotary_encoder_new_ec11() local 130 …ROTARY_CHECK(pcnt_unit_config(&dev_config) == ESP_OK, "config pcnt channel 0 failed", err, ESP_FAI… in rotary_encoder_new_ec11() 133 dev_config.pulse_gpio_num = config->phase_b_gpio_num; in rotary_encoder_new_ec11() 134 dev_config.ctrl_gpio_num = config->phase_a_gpio_num; in rotary_encoder_new_ec11() 135 dev_config.channel = PCNT_CHANNEL_1; in rotary_encoder_new_ec11() 136 dev_config.pos_mode = PCNT_COUNT_INC; in rotary_encoder_new_ec11() 137 dev_config.neg_mode = PCNT_COUNT_DEC; in rotary_encoder_new_ec11() 138 …ROTARY_CHECK(pcnt_unit_config(&dev_config) == ESP_OK, "config pcnt channel 1 failed", err, ESP_FAI… in rotary_encoder_new_ec11()
|
/hal_espressif-2.7.6/components/driver/ |
D | spi_master.c | 312 …device(spi_host_device_t host_id, const spi_device_interface_config_t *dev_config, spi_device_hand… in spi_bus_add_device() argument 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() 329 SPI_CHECK(dev_config->clock_speed_hz > 0, "invalid sclk speed", ESP_ERR_INVALID_ARG); in spi_bus_add_device() 333 …SPI_CHECK(dev_config->cs_ena_pretrans <= 1 || (dev_config->address_bits == 0 && dev_config->comman… in spi_bus_add_device() 334 …(dev_config->flags & SPI_DEVICE_HALFDUPLEX), "In full-duplex mode, only support cs pretrans delay … 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() 351 int half_duplex = dev_config->flags & SPI_DEVICE_HALFDUPLEX ? 1 : 0; in spi_bus_add_device() 352 int no_compensate = dev_config->flags & SPI_DEVICE_NO_DUMMY ? 1 : 0; in spi_bus_add_device() 353 int duty_cycle = (dev_config->duty_cycle_pos==0) ? 128 : dev_config->duty_cycle_pos; in spi_bus_add_device() 358 .clock_speed_hz = dev_config->clock_speed_hz, in spi_bus_add_device() [all …]
|
D | sdspi_host.c | 985 sdspi_device_config_t dev_config = { in sdspi_host_init_slot() local 992 ret = sdspi_host_init_device(&dev_config, &sdspi_handle); in sdspi_host_init_slot()
|
/hal_espressif-2.7.6/components/sdmmc/test/ |
D | test_sd.c | 204 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT(); in probe_spi() local 205 dev_config.gpio_cs = pin_cs; in probe_spi() 206 test_sdspi_init_bus(dev_config.host_id, pin_mosi, pin_miso, pin_sck, TEST_SDSPI_DMACHAN); in probe_spi() 208 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle)); in probe_spi() 213 test_sdspi_deinit_bus(dev_config.host_id); in probe_spi() 385 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT(); 386 … test_sdspi_init_bus(dev_config.host_id, GPIO_NUM_15, GPIO_NUM_2, GPIO_NUM_14, TEST_SDSPI_DMACHAN); 388 TEST_ESP_OK(sdspi_host_init_device(&dev_config, &handle)); 401 test_sdspi_deinit_bus(dev_config.host_id); 494 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT(); [all …]
|
/hal_espressif-2.7.6/examples/peripherals/rmt/musical_buzzer/main/ |
D | musical_buzzer_example_main.c | 47 rmt_config_t dev_config = RMT_DEFAULT_CONFIG_TX(RMT_TX_GPIO_NUM, RMT_TX_CHANNEL); in app_main() local 48 dev_config.tx_config.loop_en = true; // Enable loop mode in app_main() 51 ESP_ERROR_CHECK(rmt_config(&dev_config)); in app_main()
|
/hal_espressif-2.7.6/examples/peripherals/sdio/host/main/ |
D | app_main.c | 196 sdspi_device_config_t dev_config = SDSPI_DEVICE_CONFIG_DEFAULT(); in slave_init() local 197 dev_config.gpio_cs = SDIO_SLAVE_SLOT1_IOMUX_PIN_NUM_D3; in slave_init() 198 dev_config.gpio_int = SDIO_SLAVE_SLOT1_IOMUX_PIN_NUM_D1; in slave_init() 211 err = spi_bus_initialize(dev_config.host_id, &bus_config, 1); in slave_init()
|
/hal_espressif-2.7.6/components/spi_flash/include/ |
D | memspi_host_driver.h | 20 .dev_config = spi_flash_hal_device_config, \
|
/hal_espressif-2.7.6/components/driver/include/driver/ |
D | sdspi_host.h | 116 esp_err_t sdspi_host_init_device(const sdspi_device_config_t* dev_config, sdspi_dev_handle_t* out_h…
|
D | spi_master.h | 179 …device(spi_host_device_t host_id, const spi_device_interface_config_t *dev_config, spi_device_hand…
|
/hal_espressif-2.7.6/components/spi_flash/sim/stubs/soc/include/hal/ |
D | spi_flash_types.h | 59 esp_err_t (*dev_config)(spi_flash_host_inst_t *host); member
|
/hal_espressif-2.7.6/components/hal/include/hal/ |
D | spi_flash_types.h | 108 esp_err_t (*dev_config)(spi_flash_host_inst_t *host); member
|
/hal_espressif-2.7.6/components/spi_flash/ |
D | memspi_host_driver.c | 46 .dev_config = spi_flash_hal_gpspi_device_config,
|
D | esp_flash_api.c | 115 chip->host->driver->dev_config(chip->host); in spiflash_start_default()
|
/hal_espressif-2.7.6/docs/en/api-reference/peripherals/ |
D | spi_master.rst | 207 …ure any timing requirements the device might need with the parameter ``dev_config``. You should no…
|