/* Gets the type of parity mode currently being used.  */
unsigned long UARTParityModeGet(unsigned long ulBase)
/* Gets the type of parity mode currently being used.  */
unsigned long UARTParityModeGet(unsigned long ulBase)
{
    xASSERT(UARTBaseValid(ulBase));
    return(xHWREG(ulBase + UART_LCR) &
           (UART_LCR_PBE | UART_LCR_EPE | UART_LCR_SPE));
}