Home
last modified time | relevance | path

Searched refs:hal_dev (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_esp32_spim.c72 spi_hal_dev_config_t *hal_dev = &data->dev_config; in spi_esp32_transfer() local
127 spi_hal_setup_trans(hal, hal_dev, hal_trans); in spi_esp32_transfer()
128 spi_hal_prepare_data(hal, hal_dev, hal_trans); in spi_esp32_transfer()
307 spi_hal_dev_config_t *hal_dev = &data->dev_config; in spi_esp32_configure() local
331 hal_dev->cs_pin_id = ctx->config->slave; in spi_esp32_configure()
341 .half_duplex = hal_dev->half_duplex, in spi_esp32_configure()
342 .no_compensate = hal_dev->no_compensate, in spi_esp32_configure()
350 spi_hal_cal_clock_conf(&timing_param, &freq, &hal_dev->timing_conf); in spi_esp32_configure()
352 data->trans_config.dummy_bits = hal_dev->timing_conf.timing_dummy; in spi_esp32_configure()
354 hal_dev->tx_lsbfirst = spi_cfg->operation & SPI_TRANSFER_LSB ? 1 : 0; in spi_esp32_configure()
[all …]