/* Enable SIR (IrDA) mode on the specified UART.  */
void UARTEnableIrDA(unsigned long ulBase, xtBoolean bEnable)
/* Enable SIR (IrDA) mode on the specified UART.  */
void UARTEnableIrDA(unsigned long ulBase, xtBoolean bEnable)
{
    xASSERT(UARTBaseValid(ulBase));
	if(bEnable)
	{
        xHWREG(ulBase + USART_IRCR) |= USART_IRCR_IRDA_EN;
    }
	else
	{
        xHWREG(ulBase + USART_IRCR) &= ~(USART_IRCR_IRDA_EN);
	}
}