/* param base LPUART peripheral base address. param handle Pointer to lpuart_edma_handle_t structure.  */
void LPUART_TransferAbortReceiveEDMA(LPUART_Type *base, lpuart_edma_handle_t *handle)
/* param base LPUART peripheral base address. param handle Pointer to lpuart_edma_handle_t structure.  */
void LPUART_TransferAbortReceiveEDMA(LPUART_Type *base, lpuart_edma_handle_t *handle)
{
    assert(handle);
    assert(handle->rxEdmaHandle);
    LPUART_EnableRxDMA(base, false);
    EDMA_AbortTransfer(handle->rxEdmaHandle);
    handle->rxState = kLPUART_RxIdle;
}