Searched refs:iom_cfg (Results 1 – 2 of 2) sorted by relevance
41 am_hal_iom_config_t iom_cfg; member129 data->iom_cfg.eInterfaceMode = AM_HAL_IOM_SPI_MODE; in spi_config()160 data->iom_cfg.eSpiMode = AM_HAL_IOM_SPI_MODE_3; in spi_config()162 data->iom_cfg.eSpiMode = AM_HAL_IOM_SPI_MODE_2; in spi_config()166 data->iom_cfg.eSpiMode = AM_HAL_IOM_SPI_MODE_1; in spi_config()168 data->iom_cfg.eSpiMode = AM_HAL_IOM_SPI_MODE_0; in spi_config()188 data->iom_cfg.ui32ClockFreq = in spi_config()193 data->iom_cfg.pNBTxnBuf = spi_dma_tcb_buf[data->inst_idx].buf; in spi_config()194 data->iom_cfg.ui32NBTxnBufLength = CONFIG_SPI_DMA_TCB_BUFFER_SIZE; in spi_config()200 ret = am_hal_iom_configure(data->iom_handler, &data->iom_cfg); in spi_config()
51 am_hal_iom_config_t iom_cfg; member196 data->iom_cfg.ui32ClockFreq = AM_HAL_IOM_100KHZ; in i2c_ambiq_configure()199 data->iom_cfg.ui32ClockFreq = AM_HAL_IOM_400KHZ; in i2c_ambiq_configure()202 data->iom_cfg.ui32ClockFreq = AM_HAL_IOM_1MHZ; in i2c_ambiq_configure()209 data->iom_cfg.pNBTxnBuf = i2c_dma_tcb_buf[data->inst_idx].buf; in i2c_ambiq_configure()210 data->iom_cfg.ui32NBTxnBufLength = CONFIG_I2C_DMA_TCB_BUFFER_SIZE; in i2c_ambiq_configure()213 am_hal_iom_configure(data->iom_handler, &data->iom_cfg); in i2c_ambiq_configure()344 data->iom_cfg.eInterfaceMode = AM_HAL_IOM_I2C_MODE; in i2c_ambiq_init()