Summary
This chapter was much more than a basis for writing the driver for any GPIO controller that you may encounter; it explains the main structure of such devices. The next chapter deals with advanced IRQ management, in which we will see how to manage an interrupt controller and thus add such functionality in the driver of the MCP23016 expander from a microchip.