Skip to Content
Computers as Components, 2nd Edition
book

Computers as Components, 2nd Edition

by Marilyn Wolf
July 2008
Intermediate to advanced
544 pages
16h 52m
English
Morgan Kaufmann
Content preview from Computers as Components, 2nd Edition
4.8 Design Example: Alarm Clock 203
Time
Button
event
Button
input
FIGURE 4.40
Preprocessing button inputs.
button values so that the user interface code will respond properly. The buttons
will remain depressed for many sample periods since the sample rate is much faster
than any person can push and release buttons. We want to make sure that the clock
responds to this as a single depression of the button,not one depression per sample
interval. As shown in Figure 4.40, this can be done by performing a simple edge
detection on the button input—the button event value is 1 for one sample period
when the button is depressed and then goes back to 0 and does not ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer System Designs: System-on-Chip

Computer System Designs: System-on-Chip

Michael J. Flynn, Wayne Luk
PC Hardware in a Nutshell, 3rd Edition

PC Hardware in a Nutshell, 3rd Edition

Robert Bruce Thompson, Barbara Fritchman Thompson

Publisher Resources

ISBN: 9780123743978