/* De-initialize UART Interface. stops operation and releases the software resources used by the interface.  */
int32_t csi_usart_uninitialize(usart_handle_t handle)
/* De-initialize UART Interface. stops operation and releases the software resources used by the interface.  */
int32_t csi_usart_uninitialize(usart_handle_t handle)
{
    USART_NULL_PARAM_CHK(handle);
    ck_usart_priv_t *usart_priv = handle;
    drv_irq_disable(usart_priv->irq);
    drv_irq_unregister(usart_priv->irq);
    usart_priv->cb_event   = NULL;
    return 0;
}