/* param base PDM base pointer param handle PDM eDMA handle pointer.  */
void PDM_TransferAbortReceiveEDMA(PDM_Type *base, pdm_edma_handle_t *handle)
/* param base PDM base pointer param handle PDM eDMA handle pointer.  */
void PDM_TransferAbortReceiveEDMA(PDM_Type *base, pdm_edma_handle_t *handle)
{
    assert(handle != NULL);
    EDMA_AbortTransfer(handle->dmaHandle);
    PDM_EnableDMA(base, false);
    PDM_Enable(base, false);
    handle->tcdUsedNum--;
    handle->state = (uint32_t)kPDM_Idle;
}