/* Enables SIR (IrDA) mode on the specified UART. */
void UARTEnableSIR(unsigned long ulBase, tBoolean bLowPower)
/* Enables SIR (IrDA) mode on the specified UART. */
void UARTEnableSIR(unsigned long ulBase, tBoolean bLowPower)
{
    ASSERT(UARTBaseValid(ulBase));
    if(bLowPower)
    {
        HWREG(ulBase + UART_O_CTL) |= (UART_CTL_SIREN | UART_CTL_SIRLP);
    }
    else
    {
        HWREG(ulBase + UART_O_CTL) |= (UART_CTL_SIREN);
    }
}