/* UART Set Parity. 
The parity bit can be selected as none, even or odd. */
void uart_set_parity(uint32_t uart, uint8_t parity)
/* UART Set Parity. 
The parity bit can be selected as none, even or odd. */
void uart_set_parity(uint32_t uart, uint8_t parity)
{
	uint8_t reg8;
	reg8 = UART_C1(uart);
	reg8 = (reg8 & ~UART_PARITY_MASK) | parity;
	UART_C1(uart) = reg8;
}