User Activity

Hi,I want to learn how to write a proper sensor library. I am aware that every sensor has specific way to work but i need to understand coding details. For example should use only one struct for writing and reading registers or maybe seperate structs...
Kudos given to