AnsweredAssumed Answered

STM32Cube UART Receive Interrupt

Question asked by Mohajer on Sep 11, 2014
Latest reply on Jul 31, 2015 by singh.prabhat

Dear Friends,
Hi,

I want to get an interrupt by receiving each character on UART port. How can I use HAL_UART_Receive_IT() and HAL_UART_RxCpltCallback() functions? When I call HAL_UART_Receive_IT() function its call USART1_IRQHandler I want to know is it a correct approach to call HAL_UART_Receive_IT() function before each receiving character?

Thanks.

Outcomes