USART_Init(USART1, &USART_InitStructure); /* Configure the USART1 */
USART_ITConfig(USART1, USART_IT_TXE, ENABLE); /* Enable the USART Transmoit interrupt: this interrupt is generated when the USART1 transmit data register is empty */
USART_ITConfig(USART1, USART_IT_RXNE, ENABLE); /* Enable the USART Receive interrupt: this interrupt is generated when the USART1 receive data register is not empty */
USART_Cmd(USART1, ENABLE); /* Enable USART1 */
while (1)
{
/*
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET)
{