/* USART Set Parity. 
The parity bit can be selected as none, even or odd. */
void usart_set_parity(uint32_t usart, uint32_t parity)
/* USART Set Parity. 
The parity bit can be selected as none, even or odd. */
void usart_set_parity(uint32_t usart, uint32_t parity)
{
	uint32_t reg32;
	reg32 = USART_CR1(usart);
	reg32 = (reg32 & ~USART_PARITY_MASK) | parity;
	USART_CR1(usart) = reg32;
}