/* Enable the USART Transmoit interrupt: this interrupt is generated when the
USART1 transmit data register is empty */
//USART_ITConfig(USART2, USART_IT_TXE, ENABLE);
// USART_ITConfig(USART3, USART_IT_TXE, ENABLE);
USART_ITConfig(UART4, USART_IT_TXE, ENABLE);
/* Enable the USART Receive interrupt: this interrupt is generated when the
USART1 receive data register is not empty */
// USART_ITConfig(USART2, USART_IT_RXNE, ENABLE);
// USART_ITConfig(USART3, USART_IT_RXNE, ENABLE);
USART_ITConfig(UART4, USART_IT_RXNE, ENABLE);
USART_ITConfig(UART5, USART_IT_RXNE, ENABLE);