Device Controller and Controller Register
An electronic device in the form of chip or circuit board that controls functioning of the I/O device is called the device controller or I/O Controller or adopter. The operating system directly deals with the device controller.
Some devices are very simple devices. For example, a serial port controller is a simple device controller. It is a single chip inside the computer, which controls the signals on the wires of a serial port. Some controllers are complicated such as SCSI bus controller. It is a complete circuit board that is plugged into the computer. Usually, the device controller circuit board has a connector into which a data cable device is plugged.
Some devices have their own built-in controllers. For example, a disk drive has its own circuit board, which is attached to its one side. This circuit board is the disk controller.
Each I/O controller is designed specially to handle a particular kind of device. The CPU communicates with the I/O device through device controller of that device. The CPU sends signals to device controller to perform a specific I/O operation such as read or write operation. For example, the CPU sends a command to controller to read n byte of information from a serial device or to read a sector of information from a disk. In case of serial device, the controller collects a serial bit stream, converts it into a block of bytes and performs necessary error corrections. The block of bytes is typically first assembled/ bit by bit, in a buffer inside the controller, and then is copied to main memory. Similarly, the controller for a monitor also works as a bit serial device. It reads bytes (containing the characters or graphics to be displayed) from main memory, and generates the signals used to modulate the CRT beam to display the output on screen in readable form. The operating system initializes the controller with a few parameters (such as number of characters per line and number of lines per screen to be displayed). The CPU gives the responsibility to the controller by sending commands and becomes busy to perform other tasks. Most of the controllers can handle multiple devices.
Controller Registers
There are different kinds of I/O controllers or modules. Each controller has one or more registers that are used for communicating with the CPU. The number of registers in a module (or controller) and their functions depend on the type of module. A module for a simple input device may have two registers. In this case, one register is used for data holding, which is referred to as data buffer registered the other for control information, which is refuted to as control register. The data buffer register is used to store the input value to pass to the CPU, while the control register contains control bits from CPU to command the I/O module.
Some I/O controllers contain more than two registers that are used to control the I/O operations. For example, in disk- I/O operation, additional information is required to identify the location on the disk to perform I/O operation and the amount of data to be transferred.
The CPU communicates with the controller by reading and writing bit patterns in controller's registers. The operating system performs I/O operations by sending commands into the controller's registers. For example, the IBM PC floppy disk controller accepts 15 different commands, such as Read, Write. Seek, Format etc. Many of the commands have parameters, which are also loaded into the controller's registers. When a command is accepted, the CPU gives the control to the controller and go off to do other work. When a command has been completed, the controller causes an interrupt in order to inform the operating system that operation is completed. The operating system again gains control of the CPU to test the results of the operation. It gets the results and checks device status by reading information from the controller registers.
Article author
About the Author
Further reading
Further Reading
Article
How to Build Your First MTG Cube: A Beginner's Complete Guide
If you've ever wanted to create the ultimate custom draft experience for your Magic: The Gathering playgroup, building a Magic Cube is one of the most rewarding projects you can take on. An MTG Cube is a curated collection of cards designed to be drafted over and over again, offering endless replayability and a deeply personal expression of what you love about the game. Whether you prefer blazing-fast aggro strategies, intricate combo lines, or grindy control mirrors, your cu
February 23, 2026
Article
Career Growth and Opportunities for Family Nurse Practitioners
Key Takeaways: Family Nurse Practitioners (FNPs) provide comprehensive primary care, bridging the gap between traditional nursing and advanced clinical practice. Expanding the scope of practice enables FNPs to enjoy greater autonomy, higher earning potential, and improved access to care. Specialization, leadership, academic, telehealth, and entrepreneurial roles offer diverse career pathways and professional growth. FNPs play a critical role in shaping healthcare delivery, in
February 9, 2026
Article
Flexible Learning for Emerging Leaders in Pharmaceutical Research and Development
The online graduate certificate in drug discovery and development provides a strategic educational platform for professionals preparing to lead innovation in pharmaceutical science. With flexible, asynchronous learning and a curriculum grounded in applied research and regulatory principles, this program at The University of North Texas Health Science Center at Fort Worth is well-suited for individuals seeking to expand their competencies while balancing academic, clinical, or
July 18, 2025
Article
My Cleaning Angel Helps You Reclaim Your Time With Trusted Home Cleaning
Life often feels like a delicate balancing act between work, family, social obligations, and the everyday chores that never seem to end. One of the most time-consuming of these is keeping a home clean and organized. Recent trends and statistics reveal that more people are turning to professional home cleaning services as a practical solution to free up their schedules and reduce stress. My Cleaning Angel stands at the forefront of this movement, offering reliable home cleanin
May 1, 2025