Searched refs:s_spiBases (Results 1 – 5 of 5) sorted by relevance
/hal_nxp-3.6.0/mcux/mcux-sdk/components/spi/ |
D | fsl_adapter_dspi.c | 45 static SPI_Type *const s_spiBases[] = SPI_BASE_PTRS; variable 124 …DSPI_MasterInit((SPI_Type *)s_spiBases[masterHandle->instance], (void *)&dspiConfig, config->srcCl… in HAL_SpiMasterInit() 148 DSPI_SlaveInit((SPI_Type *)s_spiBases[slaveHandle->instance], (void *)&dspiConfig); in HAL_SpiSlaveInit() 160 DSPI_Deinit((SPI_Type *)s_spiBases[masterHandle->instance]); in HAL_SpiMasterDeinit() 173 DSPI_Deinit((SPI_Type *)s_spiBases[slaveHandle->instance]); in HAL_SpiSlaveDeinit() 191 …DSPI_MasterTransferCreateHandle((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->har… in HAL_SpiMasterTransferInstallCallback() 213 …return HAL_SpiGetStatus(DSPI_MasterTransferBlocking((SPI_Type *)s_spiBases[masterHandle->instance]… in HAL_SpiMasterTransferBlocking() 230 …return HAL_SpiGetStatus(DSPI_MasterTransferNonBlocking((SPI_Type *)s_spiBases[masterHandle->instan… in HAL_SpiMasterTransferNonBlocking() 241 …return HAL_SpiGetStatus(DSPI_MasterTransferGetCount((SPI_Type *)s_spiBases[masterHandle->instance], in HAL_SpiMasterTransferGetCount() 251 …DSPI_MasterTransferAbort((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->hardwareHa… in HAL_SpiMasterTransferAbort() [all …]
|
D | fsl_adapter_flexcomm_spi.c | 45 static const SPI_Type *s_spiBases[] = SPI_BASE_PTRS; variable 132 SPI_MasterInit((SPI_Type *)s_spiBases[masterHandle->instance], &spiConfig, config->srcClock_Hz); in HAL_SpiMasterInit() 161 SPI_SlaveInit((SPI_Type *)s_spiBases[slaveHandle->instance], &spiConfig); in HAL_SpiSlaveInit() 173 SPI_Deinit((SPI_Type *)s_spiBases[masterHandle->instance]); in HAL_SpiMasterDeinit() 186 SPI_Deinit((SPI_Type *)s_spiBases[slaveHandle->instance]); in HAL_SpiSlaveDeinit() 204 …SPI_MasterTransferCreateHandle((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->hard… in HAL_SpiMasterTransferInstallCallback() 225 …return HAL_SpiGetStatus(SPI_MasterTransferBlocking((SPI_Type *)s_spiBases[masterHandle->instance],… in HAL_SpiMasterTransferBlocking() 241 …return HAL_SpiGetStatus(SPI_MasterTransferNonBlocking((SPI_Type *)s_spiBases[masterHandle->instanc… in HAL_SpiMasterTransferNonBlocking() 252 … return HAL_SpiGetStatus(SPI_MasterTransferGetCount((SPI_Type *)s_spiBases[masterHandle->instance], in HAL_SpiMasterTransferGetCount() 262 …SPI_MasterTransferAbort((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->hardwareHan… in HAL_SpiMasterTransferAbort() [all …]
|
D | fsl_adapter_spi.c | 45 static SPI_Type *const s_spiBases[] = SPI_BASE_PTRS; variable 132 SPI_MasterInit((SPI_Type *)s_spiBases[masterHandle->instance], &spiConfig, config->srcClock_Hz); in HAL_SpiMasterInit() 161 SPI_SlaveInit((SPI_Type *)s_spiBases[slaveHandle->instance], &spiConfig); in HAL_SpiSlaveInit() 173 SPI_Deinit((SPI_Type *)s_spiBases[masterHandle->instance]); in HAL_SpiMasterDeinit() 186 SPI_Deinit((SPI_Type *)s_spiBases[slaveHandle->instance]); in HAL_SpiSlaveDeinit() 204 …SPI_MasterTransferCreateHandle((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->hard… in HAL_SpiMasterTransferInstallCallback() 225 …return HAL_SpiGetStatus(SPI_MasterTransferBlocking((SPI_Type *)s_spiBases[masterHandle->instance],… in HAL_SpiMasterTransferBlocking() 241 …return HAL_SpiGetStatus(SPI_MasterTransferNonBlocking((SPI_Type *)s_spiBases[masterHandle->instanc… in HAL_SpiMasterTransferNonBlocking() 252 … return HAL_SpiGetStatus(SPI_MasterTransferGetCount((SPI_Type *)s_spiBases[masterHandle->instance], in HAL_SpiMasterTransferGetCount() 262 …SPI_MasterTransferAbort((SPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->hardwareHan… in HAL_SpiMasterTransferAbort() [all …]
|
D | fsl_adapter_lpspi.c | 119 static LPSPI_Type *const s_spiBases[] = LPSPI_BASE_PTRS; variable 242 …LPSPI_MasterInit((LPSPI_Type *)s_spiBases[masterHandle->instance], &lpspiConfig, config->srcClock_… in HAL_SpiMasterInit() 270 LPSPI_SlaveInit((LPSPI_Type *)s_spiBases[slaveHandle->instance], &lpspiConfig); in HAL_SpiSlaveInit() 285 LPSPI_Deinit((LPSPI_Type *)s_spiBases[masterHandle->instance]); in HAL_SpiMasterDeinit() 298 LPSPI_Deinit((LPSPI_Type *)s_spiBases[slaveHandle->instance]); in HAL_SpiSlaveDeinit() 324 LPSPI_MasterTransferCreateHandleEDMA((LPSPI_Type *)s_spiBases[masterHandle->instance], in HAL_SpiMasterTransferInstallCallback() 333 …LPSPI_MasterTransferCreateHandle((LPSPI_Type *)s_spiBases[masterHandle->instance], &masterHandle->… in HAL_SpiMasterTransferInstallCallback() 359 …return HAL_SpiGetStatus(LPSPI_MasterTransferBlocking((LPSPI_Type *)s_spiBases[masterHandle->instan… in HAL_SpiMasterTransferBlocking() 382 … return HAL_SpiGetStatus(LPSPI_MasterTransferEDMA((LPSPI_Type *)s_spiBases[masterHandle->instance], in HAL_SpiMasterTransferNonBlocking() 390 …return HAL_SpiGetStatus(LPSPI_MasterTransferNonBlocking((LPSPI_Type *)s_spiBases[masterHandle->ins… in HAL_SpiMasterTransferNonBlocking() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/spi/ |
D | fsl_spi.c | 97 static SPI_Type *const s_spiBases[] = SPI_BASE_PTRS; variable 110 volatile uint8_t g_spiDummyData[ARRAY_SIZE(s_spiBases)] = {0}; 124 for (instance = 0; instance < ARRAY_SIZE(s_spiBases); instance++) in SPI_GetInstance() 126 if (s_spiBases[instance] == base) in SPI_GetInstance() 132 assert(instance < ARRAY_SIZE(s_spiBases)); in SPI_GetInstance() 1477 SPI_CommonIRQHandler(s_spiBases[instance], instance); in SPI0_SPI1_SPI2_DriverIRQHandler() 1489 SPI_CommonIRQHandler(s_spiBases[instance], instance); in SPI0_SPI1_DriverIRQHandler()
|