/* param base LPUART peripheral base address. param handle LPUART handle pointer.  */
void LPUART_TransferAbortSend(LPUART_Type *base, lpuart_handle_t *handle)
/* param base LPUART peripheral base address. param handle LPUART handle pointer.  */
void LPUART_TransferAbortSend(LPUART_Type *base, lpuart_handle_t *handle)
{
    assert(NULL != handle);
    uint32_t irqMask = DisableGlobalIRQ();
    base->CTRL &= ~(uint32_t)(LPUART_CTRL_TIE_MASK | LPUART_CTRL_TCIE_MASK);
    EnableGlobalIRQ(irqMask);
    handle->txDataSize = 0;
    handle->txState    = (uint8_t)kLPUART_TxIdle;
}