/* 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)
{
    xASSERT(UARTBaseValid(ulBase));
    return(xHWREG(ulBase + USART_CR1) & (USART_CR1_PCE | USART_CR1_PS));
}