/* Set Uart Baud Rate use baudrate parameter Ovsr & Ovsr_adj.  */
void USI_UARTSetBaudExt(USI_TypeDef *USIx, u32 Ovsr, u32 Ovsr_adj)
/* Set Uart Baud Rate use baudrate parameter Ovsr & Ovsr_adj.  */
void USI_UARTSetBaudExt(USI_TypeDef *USIx, u32 Ovsr, u32 Ovsr_adj)
{
	assert_param(IS_ALL_USI_PERIPH(USIx));
	USIx->UART_TX_FRACTION_BAUD &=(~(USI_UART_TX_XFACTOR|USI_UART_TX_XFACTOR_ADJ));
	USIx->UART_TX_FRACTION_BAUD |= (Ovsr|(Ovsr_adj<<20));
	USIx->UART_RX_BAUD_XTAL &= (~USI_RUART_LPRX_XTAL_CYCNUM_PERBIT);
	USIx->UART_RX_BAUD_XTAL |= Ovsr;
	USIx->UART_RX_FRACTION_BAUD_CTRL &= (~USI_UART_RX_XFACTOR_ADJ);
	USIx->UART_RX_FRACTION_BAUD_CTRL |= Ovsr_adj;
}