| Electronic Components Datasheet Search |
|
AN4156 Datasheet(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4156 Datasheet(HTML) 4 Page - STMicroelectronics |
|
4 / 12 page ![]() Sensor HAL: overview AN4156 4/12 Doc ID 023584 Rev 1 1 Sensor HAL: overview The Android sensor HAL is the library which provides the links by kernel-space drivers to the Android sensor service and Android sensor manager. The architecture of the Android sensor framework is shown in Figure 1: ● Application framework: applications that make use of the sensors utilize the “Application framework” to get data from the devices. The communication starts in the sensor manager class to then pass to the lower layer through the sensor JNI (Java native interface). ● Sensor libraries: these libraries have the purpose of creating a sophisticated interface for the upper layer. This is done through the sensor manager class, sensor service class, and the sensor HAL, which is the focus of this document. ● Kernel: in this layer we find Linux device drivers created using the input subsystem, a generic Linux framework for all input devices such as the mouse, keyboard, joystick, etc. The data are exported to the user space through the sysfs virtual file system (/sys/class/input/). The driver sends/receives data to/from the sensor through the stable Linux subsystem I2C. Figure 1. Android sensor subsystem |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |