Question: Code Composer Studio - Assembly Code - MSP 4 3 0 You might have encountered the issue of bouncing buttons in Quiz 6 : You
Code Composer Studio Assembly Code MSP
You might have encountered the issue of bouncing buttons in Quiz : You press the
button only once, but the button breaks and reestablishes contact while you are
pressing it resulting in following voltage pattern on the pin.
As a result, what you perceive as one button press triggers two interrupts due to two
falling or raising edges. One way to prevent this from happening is to include a call to
the subroutine delay from the ISR, say after clearing the interrupt flag. Why does this
approach work? Give a short but precise answer that explains what happens at the
register level.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
