Shadowtrance e64f4ff16b
M5Stack StickS3 - New Tab5 - driver modules (#516)
Font size set to 18 for 800x480 displays
Fix web server dashboard not rendering when sdcard isn't present

Added new driver modules
-  BM8563 RTC
- RX8130CE RTC
- MPU6886 IMU
- QMI8658 IMU
- M5PM1 Power Management Chip

Applied the above modules to applicable devicetrees.

Added new device: M5Stack StickS3

Added new M5Stack Tab5 St7123 variant.

ButtonControl changed to use interupts and xQueue, added AppClose action.

And some bonus symbols of course, the apps are hungry for symbols.
2026-03-20 10:07:57 +01:00

34 lines
693 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <stdint.h>
#include <tactility/error.h>
struct Device;
#ifdef __cplusplus
extern "C" {
#endif
struct Qmi8658Config {
/** I2C address (0x6A when SA0=low, 0x6B when SA0=high) */
uint8_t address;
};
struct Qmi8658Data {
float ax, ay, az; // acceleration in g (±8g range)
float gx, gy, gz; // angular rate in °/s (±2048°/s range)
};
/**
* Read accelerometer and gyroscope data.
* @param[in] device qmi8658 device
* @param[out] data Pointer to Qmi8658Data to populate
* @return ERROR_NONE on success
*/
error_t qmi8658_read(struct Device* device, struct Qmi8658Data* data);
#ifdef __cplusplus
}
#endif