Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
imu.h
Go to the documentation of this file.
1
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_IMU_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_IMU_H_
12
13#include <zephyr/device.h>
14#include <zephyr/sys/util.h>
15
16#include <infuse/drivers/imu.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27enum {
34};
35
45int infuse_validation_imu(const struct device *dev, uint8_t flags);
46
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_IMU_H_ */
Specialised driver API for IMU devices.
int infuse_validation_imu(const struct device *dev, uint8_t flags)
Validate the behaviour of a device implementing the IMU API.
@ VALIDATION_IMU_DRIVER
Rigorous driver behavioural tests.
Definition imu.h:33
@ VALIDATION_IMU_POWER_UP
Validate that sensor powers up.
Definition imu.h:29
@ VALIDATION_IMU_SELF_TEST
Hardware self-test.
Definition imu.h:31