Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c285 static int spi_flash_read_hd_sync(const struct device *dev, struct spi_config *spi_cfg_cmd, in spi_flash_read_hd_sync() argument
293 if (!dev || !spi_cfg_cmd || !spi_cfg_data || !data || !datasz in spi_flash_read_hd_sync()
321 spi_cfg_cmd->operation |= SPI_HOLD_ON_CS; in spi_flash_read_hd_sync()
322 err = spi_transceive(dev, spi_cfg_cmd, &txset, NULL); in spi_flash_read_hd_sync()
323 spi_cfg_cmd->operation &= ~SPI_HOLD_ON_CS; in spi_flash_read_hd_sync()