/* 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);
    UARTEnable485(ulBase);
    xHWREG(ulBase + UART_LIN_BCNT) &= 0xFFFFFF00;
    xHWREG(ulBase + UART_LIN_BCNT) |= ul485Config;
}