Q1: Run the application you just wrote on your board and connect a serial terminal to the serial port. Push the switch several times. Which of the two interrupts fires first? Compare it to your answer that you just wrote down. Explain in two sentences why this interrupt gets handled before the other one.
Q2: Perform 5 latency measurements. What is the mean time and standard deviation of your measurements?
Q3: Perform 5 latency measurements with PRIMASK. What is the mean time and standard deviation of your measurements? Explain the behavior in two sentences.
Q4: Explain the output behavior in 2 sentences. The character shifts are due to slight time drift in the system.
Q5: Explain at least two methods on how to avoid this problem. Hint: PRIMASK