This is fine for small numbers of registers but with memory
devices such as EEPROM this is not an efficient method of opera-
tion. An alternative method uses an index value which is written
to the chip, prior to accessing the data. This is known as the
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.