freematics-traccar-encrypted/esp32/libraries/FreematicsPlus/utility/AK09916_ENUMERATIONS.h

19 lines
409 B
C

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