The Canonical Protocol

In this lesson, we take a look at the protocol used by the OS to communicate with a canonical device.

Let’s look at the diagram of a canonical device reproduced from the previous lesson.

In the picture above, the (simplified) device interface is comprised of three registers:

  • A status register, which can be read to see the current status of the device.
  • A command register, to tell the device to perform a certain task.
  • A data register to pass data to the device or
...
Access this course and 1400+ top-rated courses and projects.