/* param base UART peripheral base address. param handle Pointer to the uart_edma_handle_t structure.  */
void UART_TransferAbortReceiveEDMA(UART_Type *base, uart_edma_handle_t *handle)
/* param base UART peripheral base address. param handle Pointer to the uart_edma_handle_t structure.  */
void UART_TransferAbortReceiveEDMA(UART_Type *base, uart_edma_handle_t *handle)
{
    assert(handle);
    assert(handle->rxEdmaHandle);
    UART_EnableRxDMA(base, false);
    EDMA_AbortTransfer(handle->rxEdmaHandle);
    handle->rxState = kUART_RxIdle;
}