Searched refs:esaiHandle (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/esai/ |
D | fsl_esai_edma.c | 68 esai_edma_handle_t *esaiHandle = privHandle->handle; in ESAI_TxEDMACallback() local 71 (void)memset(&esaiHandle->esaiQueue[esaiHandle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TxEDMACallback() 72 esaiHandle->queueDriver = (esaiHandle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_TxEDMACallback() 73 if (esaiHandle->callback != NULL) in ESAI_TxEDMACallback() 75 … (esaiHandle->callback)(privHandle->base, esaiHandle, kStatus_ESAI_TxIdle, esaiHandle->userData); in ESAI_TxEDMACallback() 79 if (esaiHandle->esaiQueue[esaiHandle->queueDriver].data == NULL) in ESAI_TxEDMACallback() 81 ESAI_TransferAbortSendEDMA(privHandle->base, esaiHandle); in ESAI_TxEDMACallback() 88 esai_edma_handle_t *esaiHandle = privHandle->handle; in ESAI_RxEDMACallback() local 91 (void)memset(&esaiHandle->esaiQueue[esaiHandle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_RxEDMACallback() 92 esaiHandle->queueDriver = (esaiHandle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_RxEDMACallback() [all …]
|
D | fsl_esai.c | 28 typedef void (*esai_tx_isr_t)(ESAI_Type *base, esai_handle_t *esaiHandle); 31 typedef void (*esai_rx_isr_t)(ESAI_Type *base, esai_handle_t *esaiHandle);
|