Modified Arduino library for ICM_20948 IMU for Nucleo boards
Diff: util/AK09916_ENUMERATIONS.h
- Revision:
- 0:894b603d32ee
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/util/AK09916_ENUMERATIONS.h Mon Jan 31 03:25:31 2022 +0000 @@ -0,0 +1,15 @@ +#ifndef _AK09916_ENUMERATIONS_H_ +#define _AK09916_ENUMERATIONS_H_ + +typedef enum +{ + AK09916_mode_power_down = 0x00, + AK09916_mode_single = (0x01 << 0), + AK09916_mode_cont_10hz = (0x01 << 1), + AK09916_mode_cont_20hz = (0x02 << 1), + AK09916_mode_cont_50hz = (0x03 << 1), + AK09916_mode_cont_100hz = (0x04 << 1), + AK09916_mode_self_test = (0x01 << 4), +} AK09916_mode_e; + +#endif // _AK09916_ENUMERATIONS_H_ \ No newline at end of file