/* USART Set Stop Bit(s). 
The stop bits are specified as 0.5, 1, 1.5 or 2. */
void usart_set_stopbits(uint32_t usart, uint32_t stopbits)
/* USART Set Stop Bit(s). 
The stop bits are specified as 0.5, 1, 1.5 or 2. */
void usart_set_stopbits(uint32_t usart, uint32_t stopbits)
{
	uint32_t reg32;
	reg32 = USART_CR2(usart);
	reg32 = (reg32 & ~USART_CR2_STOPBITS_MASK) | stopbits;
	USART_CR2(usart) = reg32;
}