The Round-Robin Design with Interrupts is used for a Simon g…
The Round-Robin Design with Interrupts is used for a Simon game. The Button and Timer ISRs are shown below. The timer ISR has three branches. The following figure shows the first few steps of a game scenario. When the 1s timeout happens, which branch of the timer ISR will be in execution?