Search found 1 match
- Thu Jul 23, 2026 4:53 pm
- Forum: ESP-IDF
- Topic: UART2 RX interrupt how to do it?
- Replies: 17
- Views: 14573
Re: UART2 RX interrupt how to do it?
The while(1) infinite loops don't eat away at the cpu time. The task gets suspended and the interrupt signals to the task through the buffer that data has arrived. The while(1) loop just ensures that the task runs forever. With flags, that task will get cpu time to check flag status every quantum as ...