# Sensor Driver Overview - [Introduction](#section667413271505) - [Available APIs](#section7255104114110) ## Introduction The sensor driver module provides APIs for upper-layer sensor services to implement basic sensor capabilities, including querying the sensor list, enabling or disabling a sensor, subscribing to or unsubscribing from sensor data, and setting sensor options. The sensor driver model is developed based on the Hardware Driver Foundation \(HDF\) and supports functions such as cross-OS migration and differentiated device configuration. The following figure shows the architecture of the sensor driver model. **Figure 1** Architecture of the sensor driver model  The sensor driver model offers the following APIs: - Hardware Driver Interfaces \(HDIs\) for sensors: Facilitate service development. - APIs for implementing sensor driver model capabilities: Implement the capabilities of registering, loading, and unregistering sensor drivers as well as detecting sensor devices depending on the HDF, normalize APIs for sensor devices of the same type, and offer APIs for parsing register configurations, abstract APIs for bus access, and abstract platform APIs. - APIs to be implemented by developers: Based on the HDF Configuration Source \(HCS\), implement differentiated configuration for sensors of the same type and serialized configuration of sensor device parameters, and offer APIs for some sensor device operations to simplify sensor driver development. ## Available APIs The following table lists the APIs provided by the sensor driver model. **Table 1** External APIs provided by the sensor driver model