/* Get the type of parity mode currently being used.  */
unsigned long UARTParityModeGet(unsigned long ulBase)
/* Get the type of parity mode currently being used.  */
unsigned long UARTParityModeGet(unsigned long ulBase)
{
    xASSERT(UARTBaseValid(ulBase));
    return(xHWREG(ulBase + USART_LCR) &
           (USART_LCR_PBE | USART_LCR_EPE | USART_LCR_SPE));
}