Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm_sdma.c53 (void)memset(&pdmHandle->pdmQueue[pdmHandle->queueDriver], 0, sizeof(pdm_transfer_t)); in PDM_SDMACallback()
61 if (pdmHandle->pdmQueue[pdmHandle->queueDriver].data == NULL) in PDM_SDMACallback()
170 if (handle->pdmQueue[handle->queueUser].data != NULL) in PDM_TransferReceiveSDMA()
177 handle->pdmQueue[handle->queueUser].data = xfer->data; in PDM_TransferReceiveSDMA()
178 handle->pdmQueue[handle->queueUser].dataSize = xfer->dataSize; in PDM_TransferReceiveSDMA()
259 (void)memset(handle->pdmQueue, 0, sizeof(handle->pdmQueue)); in PDM_TransferTerminateReceiveSDMA()
Dfsl_pdm.c547 if (handle->pdmQueue[handle->queueUser].data != NULL) in PDM_TransferReceiveNonBlocking()
554 handle->pdmQueue[handle->queueUser].data = xfer->data; in PDM_TransferReceiveNonBlocking()
555 handle->pdmQueue[handle->queueUser].dataSize = xfer->dataSize; in PDM_TransferReceiveNonBlocking()
587 (void)memset(handle->pdmQueue, 0, sizeof(pdm_transfer_t) * PDM_XFER_QUEUE_SIZE); in PDM_TransferAbortReceive()
644 uint8_t size = (uint8_t)MIN((handle->pdmQueue[handle->queueDriver].dataSize), in PDM_TransferHandleIRQ()
648 (uint8_t *)(uint32_t)handle->pdmQueue[handle->queueDriver].data, in PDM_TransferHandleIRQ()
652 handle->pdmQueue[handle->queueDriver].dataSize -= size; in PDM_TransferHandleIRQ()
653 … handle->pdmQueue[handle->queueDriver].data = &(handle->pdmQueue[handle->queueDriver].data[size]); in PDM_TransferHandleIRQ()
657 if (handle->pdmQueue[handle->queueDriver].dataSize == 0U) in PDM_TransferHandleIRQ()
659 handle->pdmQueue[handle->queueDriver].data = NULL; in PDM_TransferHandleIRQ()
[all …]
Dfsl_pdm_sdma.h49 …pdm_transfer_t pdmQueue[PDM_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transfer.… member
Dfsl_pdm.h378 pdm_transfer_t pdmQueue[PDM_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transfer */ member