Skip to Content
Embedded Systems and Computer Architecture
book

Embedded Systems and Computer Architecture

by Graham R Wilson
December 2001
Intermediate to advanced
320 pages
7h 37m
English
Newnes
Content preview from Embedded Systems and Computer Architecture
10

Input and output methods

We have seen in Chapter 9 that input and output ports provide the hardware for transferring data into and out of the computer. Here we look at how we can use these ports in programs that transfer data to and from various types of peripheral devices such as a keypad and a stepper motor. A fundamental problem is the difference in the rate at which a peripheral device and the G80 can write and read data. We will see that data transfer cannot take place without taking into account the characteristics of the device that is connected to the port. In general, the programmer must cause the computer to adhere to a protocol that governs how the data transfer will take place. We begin by considering data transfers that occur ...

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

Embedded Systems Architecture - Second Edition

Embedded Systems Architecture - Second Edition

Daniele Lacamera

Publisher Resources

ISBN: 9780750650649