/* Gets the type of parity currently being used. */
unsigned long UARTParityModeGet(unsigned long ulBase)
/* Gets the type of parity currently being used. */
unsigned long UARTParityModeGet(unsigned long ulBase)
{
    ASSERT(UARTBaseValid(ulBase));
    return(HWREG(ulBase + UART_O_LCRH) &
           (UART_LCRH_SPS | UART_LCRH_EPS | UART_LCRH_PEN));
}