aboutsummaryrefslogtreecommitdiffstats
path: root/src/sensor_angle.c
Commit message (Collapse)AuthorAgeFilesLines
* angle: mt6826s added supportTimofey Titovets2024-12-121-0/+38
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* angle: mt6816 added supportTimofey Titovets2024-12-121-5/+40
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* sensor_bulk: New C file with helper code for sending bulk sensor measurementsKevin O'Connor2024-01-191-21/+12
| | | | | | | | | | Refactor the low-level "bulk sensor" management code in the mcu. This updates the sensor_adxl345.c, sensor_mpu9250.c, sensor_lis2dw.c, and sensor_angle.c code to use the same "bulk sensor" messages. All of these sensors will now send "sensor_bulk_data" and "sensor_bulk_status" messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_angle: No need to send messages when stopping queriesKevin O'Connor2024-01-191-5/+2
| | | | | | Simplify the mcu code as any messages are ignored by the host anyway. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_angle: Support TLE5012b frame counter for timingKevin O'Connor2022-03-291-14/+57
| | | | | | | Use the tle5012b internal frame counter to calculate the time of each measurement. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sensor_angle: Add support for bulk querying of spi angle sensorsKevin O'Connor2022-03-291-0/+276
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>