/* Force BREAK character on UART line, output pin UARTx TXD is forced to logic 0.  */
void UART_ForceBreak(LPC_UART_TypeDef *UARTx)
/* Force BREAK character on UART line, output pin UARTx TXD is forced to logic 0.  */
void UART_ForceBreak(LPC_UART_TypeDef *UARTx)
{
    if (((LPC_UART1_TypeDef *)UARTx) == LPC_UART1)
    {
        ((LPC_UART1_TypeDef *)UARTx)->LCR |= UART_LCR_BREAK_EN;
    }
    else
    {
        UARTx->LCR |= UART_LCR_BREAK_EN;
    }
}