/* param base PDM base pointer. param handle PDM eDMA handle pointer.  */
void PDM_TransferTerminateReceiveEDMA(PDM_Type *base, pdm_edma_handle_t *handle)
/* param base PDM base pointer. param handle PDM eDMA handle pointer.  */
void PDM_TransferTerminateReceiveEDMA(PDM_Type *base, pdm_edma_handle_t *handle)
{
    assert(handle != NULL);
    PDM_TransferAbortReceiveEDMA(base, handle);
    (void)memset(handle->tcd, 0, sizeof(edma_tcd_t) * handle->tcdNum);
    handle->tcdUser    = 0U;
    handle->tcdUsedNum = 0U;
}