Every rotation of a motor causes a switch to be pushed. The switch, like most mechanical switches, 'clatters' or bounces when the contacts come together, causing an interval when a single press causes...


Every rotation of a motor causes a switch to be pushed. The<br>switch, like most mechanical switches, 'clatters' or bounces<br>when the contacts come together, causing an interval when a<br>single press causes multiple closures. This bouncing can<br>continue for just under 3 milliseconds.<br>The switch is linked into the memory map of a 68000<br>processor at bit 0 of location $FFFFF000. It is connected so<br>that the bit will read a '1' when the switch is open, and a '0'<br>when closed and not bouncing. The bouncing will cause<br>alternating zeros and ones.<br>For ease of any analysis you do, assume that every instruction<br>takes 1 usec., regardless of addressing mode.<br>If the switch were connected to a falling-edge-sensitive<br>interrupt request line what problem could result during the<br>bouncing? And what is one way the problem might be solved?<br>

Extracted text: Every rotation of a motor causes a switch to be pushed. The switch, like most mechanical switches, 'clatters' or bounces when the contacts come together, causing an interval when a single press causes multiple closures. This bouncing can continue for just under 3 milliseconds. The switch is linked into the memory map of a 68000 processor at bit 0 of location $FFFFF000. It is connected so that the bit will read a '1' when the switch is open, and a '0' when closed and not bouncing. The bouncing will cause alternating zeros and ones. For ease of any analysis you do, assume that every instruction takes 1 usec., regardless of addressing mode. If the switch were connected to a falling-edge-sensitive interrupt request line what problem could result during the bouncing? And what is one way the problem might be solved?

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here