Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_ambiq_spid.c40 am_hal_ios_config_t ios_cfg; member
104 data->ios_cfg.ui32InterfaceSelect = AM_HAL_IOS_USE_SPI; in spi_config()
133 data->ios_cfg.ui32InterfaceSelect |= AM_HAL_IOS_SPIMODE_3; in spi_config()
135 data->ios_cfg.ui32InterfaceSelect |= AM_HAL_IOS_SPIMODE_2; in spi_config()
139 data->ios_cfg.ui32InterfaceSelect |= AM_HAL_IOS_SPIMODE_1; in spi_config()
141 data->ios_cfg.ui32InterfaceSelect |= AM_HAL_IOS_SPIMODE_0; in spi_config()
163 data->ios_cfg.ui32ROBase = AMBIQ_SPID_FIFO_BASE; in spi_config()
165 data->ios_cfg.ui32FIFOBase = AMBIQ_SPID_FIFO_BASE; in spi_config()
169 data->ios_cfg.ui32RAMBase = AMBIQ_SPID_FIFO_END; in spi_config()
171 data->ios_cfg.ui32FIFOThreshold = AMBIQ_SPID_FIFO_LENGTH >> 1; in spi_config()
[all …]