/* Open 485 mode on the specified UART. 
The  */
void UART485Config(unsigned long ulBase, unsigned long ulBaud, unsigned long ul485Config, unsigned long ulUARTConfig)
/* Open 485 mode on the specified UART. 
The  */
void UART485Config(unsigned long ulBase, unsigned long ulBaud, unsigned long ul485Config, unsigned long ulUARTConfig)
{
    xASSERT(UARTBaseValid(ulBase));
    UARTConfigSetExpClk(ulBase, ulBaud, ulUARTConfig);
    UARTModeSet(ulBase, USART_FUN_SEL_RS485_EN);
    xHWREG(ulBase + USART_RS485CR) &= 0xFFFFFFF0;
    xHWREG(ulBase + USART_RS485CR) |= ul485Config;
}