Chapter 23

Programming for I/O and Storage

Xin-Xin Yang

Input and output (I/O) devices are very important components in embedded systems. I/O diversity makes I/O management in embedded systems a very complicated process. One of the basic functions of an embedded operating system is to control and manage all of the I/O devices, and to coordinate multiple processes accessing I/O devices simultaneously. The key function for device management is to control I/O implementation between the CPU and the devices. The operating system must send commands to the devices, respond to interrupts and handle exceptions from the devices. It should also provide a simple and easy-to-use interface between the devices and other parts of the system. The I/O management ...

Get Software Engineering for Embedded Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.