Modified Arduino library for ICM_20948 IMU for Nucleo boards

util/AK09916_ENUMERATIONS.h

Committer:
saloutos
Date:
2022-01-31
Revision:
0:894b603d32ee

File content as of revision 0:894b603d32ee:

#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_