This is a problem.
Because my program goes like this.
1. Main program is running
2. Someone presses a key and it goes into a buffer. If enter is pressed, an action is executed.
3. If "break" is typed, the break function is called where MCU waits for the user to enter a key
4. Infinite loop happens because the USART_RXCIF flag doesn't turn on!
How can I make my main program pause when I say "break", but at the same time listen to USART as I type "dump", "cpu", "insert" and "continue" so when I say "continue" that everything continues?