Details
-
Technical task
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
None
-
None
Description
Create a shared interface similar to QSensorPluginInterface. This peripheral interface is used to retrieve raw data from the wired sensors.
From the MCU point of view, most of the sensors are connected to the board via I2C, UART and SPI interfaces. Some RTOS provides the HAL layer (CMSIS-Driver) for the application to directly access HW (sensors).
http://www.keil.com/pack/doc/CMSIS/Driver/html/group__i2c__interface__gr.html
http://www.keil.com/pack/doc/CMSIS/Driver/html/group__spi__interface__gr.html
http://www.keil.com/pack/doc/CMSIS/Driver/html/group__usart__interface__gr.html
The advantage are
- This interface is RTOS independent.
- It can be reused for all the CMSIS compliant RTOS.
- The sensor drivers can be implemented by the Qt instead of RTOS depending drivers.