Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpspi_edma.c531 lpspi_master_edma_private_handle_t *lpspiEdmaPrivateHandle; in EDMA_LpspiMasterCallback() local
533 lpspiEdmaPrivateHandle = (lpspi_master_edma_private_handle_t *)g_lpspiEdmaPrivateHandle; in EDMA_LpspiMasterCallback()
535 size_t rxRemainingByteCount = lpspiEdmaPrivateHandle->handle->rxRemainingByteCount; in EDMA_LpspiMasterCallback()
536 uint8_t bytesLastRead = lpspiEdmaPrivateHandle->handle->bytesLastRead; in EDMA_LpspiMasterCallback()
537 bool isByteSwap = lpspiEdmaPrivateHandle->handle->isByteSwap; in EDMA_LpspiMasterCallback()
539 …LPSPI_DisableDMA(lpspiEdmaPrivateHandle->base, (uint32_t)kLPSPI_TxDmaEnable | (uint32_t)kLPSPI_RxD… in EDMA_LpspiMasterCallback()
541 if (lpspiEdmaPrivateHandle->handle->isThereExtraRxBytes) in EDMA_LpspiMasterCallback()
543 while (LPSPI_GetRxFifoCount(lpspiEdmaPrivateHandle->base) == 0U) in EDMA_LpspiMasterCallback()
546 readData = LPSPI_ReadData(lpspiEdmaPrivateHandle->base); in EDMA_LpspiMasterCallback()
548 if (lpspiEdmaPrivateHandle->handle->rxData != NULL) in EDMA_LpspiMasterCallback()
[all …]
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpspi_edma.c569 lpspi_master_edma_private_handle_t *lpspiEdmaPrivateHandle; in EDMA_LpspiMasterCallback() local
571 lpspiEdmaPrivateHandle = (lpspi_master_edma_private_handle_t *)g_lpspiEdmaPrivateHandle; in EDMA_LpspiMasterCallback()
573 size_t rxRemainingByteCount = lpspiEdmaPrivateHandle->handle->rxRemainingByteCount; in EDMA_LpspiMasterCallback()
574 uint8_t bytesLastRead = lpspiEdmaPrivateHandle->handle->bytesLastRead; in EDMA_LpspiMasterCallback()
575 bool isByteSwap = lpspiEdmaPrivateHandle->handle->isByteSwap; in EDMA_LpspiMasterCallback()
577 …LPSPI_DisableDMA(lpspiEdmaPrivateHandle->base, (uint32_t)kLPSPI_TxDmaEnable | (uint32_t)kLPSPI_RxD… in EDMA_LpspiMasterCallback()
579 if (lpspiEdmaPrivateHandle->handle->isThereExtraRxBytes) in EDMA_LpspiMasterCallback()
581 while (LPSPI_GetRxFifoCount(lpspiEdmaPrivateHandle->base) == 0U) in EDMA_LpspiMasterCallback()
584 readData = LPSPI_ReadData(lpspiEdmaPrivateHandle->base); in EDMA_LpspiMasterCallback()
586 if (lpspiEdmaPrivateHandle->handle->rxData != NULL) in EDMA_LpspiMasterCallback()
[all …]