/* Enables 485 Function mode on the specified UART.  */
void UARTEnable485(unsigned long ulBase)
/* Enables 485 Function mode on the specified UART.  */
void UARTEnable485(unsigned long ulBase)
{
    xASSERT(UARTBaseValid(ulBase));
    xHWREG(ulBase + UART_FUN_SEL) = UART_FUN_SEL_RS485_EN;
}