Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 567 Bytes

EV3-Sensor-Driver-Model.mkd

File metadata and controls

8 lines (6 loc) · 567 Bytes

Sensors drivers are implemented using the Linux driver model. There are basically four compontents to this: devices, drivers, busses and classes.

##Devices Devices are a data structure that represents the physical device.

  • It stores information on how to communicate with the physical device, such as what GPIO to use or what memory address to look at.
  • It stores informative information, like a unique name and id.
  • It stores relational information such as the parent device and the bus it is registred.