/* 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)
{
	USART_CR1(usart) = (USART_CR1(usart) & ~USART_PARITY) | parity;
}