/* Open SIR (IrDA) mode on the specified UART.  */
void UARTIrDAConfig(unsigned long ulBase, unsigned long ulConfig)
/* Open SIR (IrDA) mode on the specified UART.  */
void UARTIrDAConfig(unsigned long ulBase, unsigned long ulConfig)
{
    xASSERT(UARTBaseValid(ulBase));
    UARTModeSet(ulBase, USART_FUN_SEL_IRDA_EN);
    xHWREG(ulBase + USART_IRCR) |= ulConfig;
}