Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Enumerations | |
enum | { VALIDATION_IMU_POWER_UP = 0 , VALIDATION_IMU_SELF_TEST = BIT(0) , VALIDATION_IMU_DRIVER = BIT(1) } |
Functions | |
int | infuse_validation_imu (const struct device *dev, uint8_t flags) |
Validate the behaviour of a device implementing the IMU API. | |
anonymous enum |
#include <infuse/validation/imu.h>
Enumerator | |
---|---|
VALIDATION_IMU_POWER_UP | Validate that sensor powers up. |
VALIDATION_IMU_SELF_TEST | Hardware self-test. |
VALIDATION_IMU_DRIVER | Rigorous driver behavioural tests. |
int infuse_validation_imu | ( | const struct device * | dev, |
uint8_t | flags ) |
#include <infuse/validation/imu.h>
Validate the behaviour of a device implementing the IMU API.
dev | IMU device |
flags | Validation tests to run |
0 | On success |
-errno | On failure |