c13dof 2.0.0.0
BMM150 Registers

Macros

#define C13DOF_BMM150_DEVICE_SLAVE_ADDR   0x10
 
#define C13DOF_BMM150_DUMMY   0x00
 
#define C13DOF_BMM150_ID_REG   0x40
 
#define C13DOF_BMM150_RESERVED1_REG   0x41
 
#define C13DOF_BMM150_DATAX_LSB_REG   0x42
 
#define C13DOF_BMM150_DATAX_MSB_REG   0x43
 
#define C13DOF_BMM150_DATAY_LSB_REG   0x44
 
#define C13DOF_BMM150_DATAY_MSB_REG   0x45
 
#define C13DOF_BMM150_DATAZ_LSB_REG   0x46
 
#define C13DOF_BMM150_DATAZ_MSB_REG   0x47
 
#define C13DOF_BMM150_RHALL_LSB_REG   0x48
 
#define C13DOF_BMM150_RHALL_MSB_REG   0x49
 
#define C13DOF_BMM150_INTERRUPT_STATUS_REG   0x4A
 
#define C13DOF_BMM150_POWER_AND_RESET_CON_REG   0x4B
 
#define C13DOF_BMM150_DATARATE_AND_OPMODE_CON_REG   0x4C
 
#define C13DOF_BMM150_INTERR_AND_AXIS_EN_REG   0x4D
 
#define C13DOF_BMM150_INTERR_AND_CHANNEL_EN_REG   0x4E
 
#define C13DOF_BMM150_LOW_THRESHOLD_REG   0x4F
 
#define C13DOF_BMM150_HIGH_THRESHOLD_REG   0x50
 
#define C13DOF_BMM150_REPETITION_XY_CON_REG   0x51
 
#define C13DOF_BMM150_REPETITION_Z_CON_REG   0x52
 
#define C13DOF_BMM150_RESERVED2_REG   0x53
 
#define C13DOF_BMM150_RESERVED3_REG   0x54
 
#define C13DOF_BMM150_RESERVED4_REG   0x55
 
#define C13DOF_BMM150_RESERVED5_REG   0x56
 
#define C13DOF_BMM150_RESERVED6_REG   0x57
 
#define C13DOF_BMM150_RESERVED7_REG   0x58
 
#define C13DOF_BMM150_RESERVED8_REG   0x59
 
#define C13DOF_BMM150_RESERVED9_REG   0x5A
 
#define C13DOF_BMM150_RESERVED10_REG   0x5B
 
#define C13DOF_BMM150_RESERVED11_REG   0x5C
 
#define C13DOF_BMM150_RESERVED12_REG   0x5D
 
#define C13DOF_BMM150_RESERVED13_REG   0x5E
 
#define C13DOF_BMM150_RESERVED14_REG   0x5F
 
#define C13DOF_BMM150_RESERVED15_REG   0x60
 
#define C13DOF_BMM150_RESERVED16_REG   0x61
 
#define C13DOF_BMM150_RESERVED17_REG   0x62
 
#define C13DOF_BMM150_RESERVED18_REG   0x63
 
#define C13DOF_BMM150_RESERVED19_REG   0x64
 
#define C13DOF_BMM150_RESERVED20_REG   0x65
 
#define C13DOF_BMM150_RESERVED21_REG   0x66
 
#define C13DOF_BMM150_RESERVED22_REG   0x67
 
#define C13DOF_BMM150_RESERVED23_REG   0x68
 
#define C13DOF_BMM150_RESERVED24_REG   0x69
 
#define C13DOF_BMM150_RESERVED25_REG   0x6A
 
#define C13DOF_BMM150_RESERVED26_REG   0x6B
 
#define C13DOF_BMM150_RESERVED27_REG   0x6C
 
#define C13DOF_BMM150_RESERVED28_REG   0x6D
 
#define C13DOF_BMM150_RESERVED29_REG   0x6E
 
#define C13DOF_BMM150_RESERVED30_REG   0x6F
 
#define C13DOF_BMM150_RESERVED31_REG   0x70
 
#define C13DOF_BMM150_RESERVED32_REG   0x71
 
#define C13DOF_BMM150_OK   0x00
 
#define C13DOF_BMM150_ADDR_ERR   0x01
 
#define C13DOF_BMM150_INTERRUPT_OCCURED   0x02
 
#define C13DOF_BMM150_NBYTES_ERR   0x03
 
#define C13DOF_BMM150_DATA_READY   0x01
 
#define C13DOF_BMM150_DATA_NOT_READY   0x00
 
#define C13DOF_BMM150_SUSPEND_MODE_SPI4_EN   0x00
 
#define C13DOF_BMM150_SLEEP_MODE   0x01
 
#define C13DOF_BMM150_SOFT_RESET_EN   0x82
 
#define C13DOF_BMM150_SPI3_EN   0x04
 
#define C13DOF_BMM150_NORMAL_OPMODE_DR_10HZ   0x00
 
#define C13DOF_BMM150_FORCED_OPMODE   0x02
 
#define C13DOF_BMM150_SLEEP_OPMODE   0x06
 
#define C13DOF_BMM150_DR_2HZ   0x08
 
#define C13DOF_BMM150_DR_6HZ   0x10
 
#define C13DOF_BMM150_DR_8HZ   0x18
 
#define C13DOF_BMM150_DR_15HZ   0x20
 
#define C13DOF_BMM150_DR_20HZ   0x28
 
#define C13DOF_BMM150_DR_25HZ   0x30
 
#define C13DOF_BMM150_DR_30HZ   0x38
 
#define C13DOF_BMM150_INTERR_DISABLED_THRESHOLDS_ENABLED   0x00
 
#define C13DOF_BMM150_LOWTHRESHOLD_X_DISABLED   0x01
 
#define C13DOF_BMM150_LOWTHRESHOLD_Y_DISABLED   0x02
 
#define C13DOF_BMM150_LOWTHRESHOLD_Z_DISABLED   0x04
 
#define C13DOF_BMM150_HIGHTHRESHOLD_X_DISABLED   0x08
 
#define C13DOF_BMM150_HIGHTHRESHOLD_Y_DISABLED   0x10
 
#define C13DOF_BMM150_HIGHTHRESHOLD_Z_DISABLED   0x20
 
#define C13DOF_BMM150_OVERFLOW_PIN_IND_EN   0x40
 
#define C13DOF_BMM150_DATAOVERRUN_IND_EN   0x80
 
#define C13DOF_BMM150_CHANNELS_ENABLED_INTERR_DATAREADY_ACTIVE_LOW   0x00
 
#define C13DOF_BMM150_INTERR_PIN_ACTIVE_HIGH   0x01
 
#define C13DOF_BMM150_INTERR_LATCHED   0x02
 
#define C13DOF_BMM150_DATAREADY_ACTIVE_HIGH   0x04
 
#define C13DOF_BMM150_CHANNEL_X_DISABLED   0x08
 
#define C13DOF_BMM150_CHANNEL_Y_DISABLED   0x10
 
#define C13DOF_BMM150_CHANNEL_Z_DISABLED   0x20
 
#define C13DOF_BMM150_INTERR_PIN_EN   0x40
 
#define C13DOF_BMM150_DATAREADY_PIN_EN   0x80
 

Detailed Description

Macro Definition Documentation

◆ C13DOF_BMM150_ADDR_ERR

#define C13DOF_BMM150_ADDR_ERR   0x01

◆ C13DOF_BMM150_CHANNEL_X_DISABLED

#define C13DOF_BMM150_CHANNEL_X_DISABLED   0x08

◆ C13DOF_BMM150_CHANNEL_Y_DISABLED

#define C13DOF_BMM150_CHANNEL_Y_DISABLED   0x10

◆ C13DOF_BMM150_CHANNEL_Z_DISABLED

#define C13DOF_BMM150_CHANNEL_Z_DISABLED   0x20

◆ C13DOF_BMM150_CHANNELS_ENABLED_INTERR_DATAREADY_ACTIVE_LOW

#define C13DOF_BMM150_CHANNELS_ENABLED_INTERR_DATAREADY_ACTIVE_LOW   0x00

◆ C13DOF_BMM150_DATA_NOT_READY

#define C13DOF_BMM150_DATA_NOT_READY   0x00

◆ C13DOF_BMM150_DATA_READY

#define C13DOF_BMM150_DATA_READY   0x01

◆ C13DOF_BMM150_DATAOVERRUN_IND_EN

#define C13DOF_BMM150_DATAOVERRUN_IND_EN   0x80

◆ C13DOF_BMM150_DATARATE_AND_OPMODE_CON_REG

#define C13DOF_BMM150_DATARATE_AND_OPMODE_CON_REG   0x4C

◆ C13DOF_BMM150_DATAREADY_ACTIVE_HIGH

#define C13DOF_BMM150_DATAREADY_ACTIVE_HIGH   0x04

◆ C13DOF_BMM150_DATAREADY_PIN_EN

#define C13DOF_BMM150_DATAREADY_PIN_EN   0x80

◆ C13DOF_BMM150_DATAX_LSB_REG

#define C13DOF_BMM150_DATAX_LSB_REG   0x42

◆ C13DOF_BMM150_DATAX_MSB_REG

#define C13DOF_BMM150_DATAX_MSB_REG   0x43

◆ C13DOF_BMM150_DATAY_LSB_REG

#define C13DOF_BMM150_DATAY_LSB_REG   0x44

◆ C13DOF_BMM150_DATAY_MSB_REG

#define C13DOF_BMM150_DATAY_MSB_REG   0x45

◆ C13DOF_BMM150_DATAZ_LSB_REG

#define C13DOF_BMM150_DATAZ_LSB_REG   0x46

◆ C13DOF_BMM150_DATAZ_MSB_REG

#define C13DOF_BMM150_DATAZ_MSB_REG   0x47

◆ C13DOF_BMM150_DEVICE_SLAVE_ADDR

#define C13DOF_BMM150_DEVICE_SLAVE_ADDR   0x10

◆ C13DOF_BMM150_DR_15HZ

#define C13DOF_BMM150_DR_15HZ   0x20

◆ C13DOF_BMM150_DR_20HZ

#define C13DOF_BMM150_DR_20HZ   0x28

◆ C13DOF_BMM150_DR_25HZ

#define C13DOF_BMM150_DR_25HZ   0x30

◆ C13DOF_BMM150_DR_2HZ

#define C13DOF_BMM150_DR_2HZ   0x08

◆ C13DOF_BMM150_DR_30HZ

#define C13DOF_BMM150_DR_30HZ   0x38

◆ C13DOF_BMM150_DR_6HZ

#define C13DOF_BMM150_DR_6HZ   0x10

◆ C13DOF_BMM150_DR_8HZ

#define C13DOF_BMM150_DR_8HZ   0x18

◆ C13DOF_BMM150_DUMMY

#define C13DOF_BMM150_DUMMY   0x00

◆ C13DOF_BMM150_FORCED_OPMODE

#define C13DOF_BMM150_FORCED_OPMODE   0x02

◆ C13DOF_BMM150_HIGH_THRESHOLD_REG

#define C13DOF_BMM150_HIGH_THRESHOLD_REG   0x50

◆ C13DOF_BMM150_HIGHTHRESHOLD_X_DISABLED

#define C13DOF_BMM150_HIGHTHRESHOLD_X_DISABLED   0x08

◆ C13DOF_BMM150_HIGHTHRESHOLD_Y_DISABLED

#define C13DOF_BMM150_HIGHTHRESHOLD_Y_DISABLED   0x10

◆ C13DOF_BMM150_HIGHTHRESHOLD_Z_DISABLED

#define C13DOF_BMM150_HIGHTHRESHOLD_Z_DISABLED   0x20

◆ C13DOF_BMM150_ID_REG

#define C13DOF_BMM150_ID_REG   0x40

◆ C13DOF_BMM150_INTERR_AND_AXIS_EN_REG

#define C13DOF_BMM150_INTERR_AND_AXIS_EN_REG   0x4D

◆ C13DOF_BMM150_INTERR_AND_CHANNEL_EN_REG

#define C13DOF_BMM150_INTERR_AND_CHANNEL_EN_REG   0x4E

◆ C13DOF_BMM150_INTERR_DISABLED_THRESHOLDS_ENABLED

#define C13DOF_BMM150_INTERR_DISABLED_THRESHOLDS_ENABLED   0x00

◆ C13DOF_BMM150_INTERR_LATCHED

#define C13DOF_BMM150_INTERR_LATCHED   0x02

◆ C13DOF_BMM150_INTERR_PIN_ACTIVE_HIGH

#define C13DOF_BMM150_INTERR_PIN_ACTIVE_HIGH   0x01

◆ C13DOF_BMM150_INTERR_PIN_EN

#define C13DOF_BMM150_INTERR_PIN_EN   0x40

◆ C13DOF_BMM150_INTERRUPT_OCCURED

#define C13DOF_BMM150_INTERRUPT_OCCURED   0x02

◆ C13DOF_BMM150_INTERRUPT_STATUS_REG

#define C13DOF_BMM150_INTERRUPT_STATUS_REG   0x4A

◆ C13DOF_BMM150_LOW_THRESHOLD_REG

#define C13DOF_BMM150_LOW_THRESHOLD_REG   0x4F

◆ C13DOF_BMM150_LOWTHRESHOLD_X_DISABLED

#define C13DOF_BMM150_LOWTHRESHOLD_X_DISABLED   0x01

◆ C13DOF_BMM150_LOWTHRESHOLD_Y_DISABLED

#define C13DOF_BMM150_LOWTHRESHOLD_Y_DISABLED   0x02

◆ C13DOF_BMM150_LOWTHRESHOLD_Z_DISABLED

#define C13DOF_BMM150_LOWTHRESHOLD_Z_DISABLED   0x04

◆ C13DOF_BMM150_NBYTES_ERR

#define C13DOF_BMM150_NBYTES_ERR   0x03

◆ C13DOF_BMM150_NORMAL_OPMODE_DR_10HZ

#define C13DOF_BMM150_NORMAL_OPMODE_DR_10HZ   0x00

◆ C13DOF_BMM150_OK

#define C13DOF_BMM150_OK   0x00

◆ C13DOF_BMM150_OVERFLOW_PIN_IND_EN

#define C13DOF_BMM150_OVERFLOW_PIN_IND_EN   0x40

◆ C13DOF_BMM150_POWER_AND_RESET_CON_REG

#define C13DOF_BMM150_POWER_AND_RESET_CON_REG   0x4B

◆ C13DOF_BMM150_REPETITION_XY_CON_REG

#define C13DOF_BMM150_REPETITION_XY_CON_REG   0x51

◆ C13DOF_BMM150_REPETITION_Z_CON_REG

#define C13DOF_BMM150_REPETITION_Z_CON_REG   0x52

◆ C13DOF_BMM150_RESERVED10_REG

#define C13DOF_BMM150_RESERVED10_REG   0x5B

◆ C13DOF_BMM150_RESERVED11_REG

#define C13DOF_BMM150_RESERVED11_REG   0x5C

◆ C13DOF_BMM150_RESERVED12_REG

#define C13DOF_BMM150_RESERVED12_REG   0x5D

◆ C13DOF_BMM150_RESERVED13_REG

#define C13DOF_BMM150_RESERVED13_REG   0x5E

◆ C13DOF_BMM150_RESERVED14_REG

#define C13DOF_BMM150_RESERVED14_REG   0x5F

◆ C13DOF_BMM150_RESERVED15_REG

#define C13DOF_BMM150_RESERVED15_REG   0x60

◆ C13DOF_BMM150_RESERVED16_REG

#define C13DOF_BMM150_RESERVED16_REG   0x61

◆ C13DOF_BMM150_RESERVED17_REG

#define C13DOF_BMM150_RESERVED17_REG   0x62

◆ C13DOF_BMM150_RESERVED18_REG

#define C13DOF_BMM150_RESERVED18_REG   0x63

◆ C13DOF_BMM150_RESERVED19_REG

#define C13DOF_BMM150_RESERVED19_REG   0x64

◆ C13DOF_BMM150_RESERVED1_REG

#define C13DOF_BMM150_RESERVED1_REG   0x41

◆ C13DOF_BMM150_RESERVED20_REG

#define C13DOF_BMM150_RESERVED20_REG   0x65

◆ C13DOF_BMM150_RESERVED21_REG

#define C13DOF_BMM150_RESERVED21_REG   0x66

◆ C13DOF_BMM150_RESERVED22_REG

#define C13DOF_BMM150_RESERVED22_REG   0x67

◆ C13DOF_BMM150_RESERVED23_REG

#define C13DOF_BMM150_RESERVED23_REG   0x68

◆ C13DOF_BMM150_RESERVED24_REG

#define C13DOF_BMM150_RESERVED24_REG   0x69

◆ C13DOF_BMM150_RESERVED25_REG

#define C13DOF_BMM150_RESERVED25_REG   0x6A

◆ C13DOF_BMM150_RESERVED26_REG

#define C13DOF_BMM150_RESERVED26_REG   0x6B

◆ C13DOF_BMM150_RESERVED27_REG

#define C13DOF_BMM150_RESERVED27_REG   0x6C

◆ C13DOF_BMM150_RESERVED28_REG

#define C13DOF_BMM150_RESERVED28_REG   0x6D

◆ C13DOF_BMM150_RESERVED29_REG

#define C13DOF_BMM150_RESERVED29_REG   0x6E

◆ C13DOF_BMM150_RESERVED2_REG

#define C13DOF_BMM150_RESERVED2_REG   0x53

◆ C13DOF_BMM150_RESERVED30_REG

#define C13DOF_BMM150_RESERVED30_REG   0x6F

◆ C13DOF_BMM150_RESERVED31_REG

#define C13DOF_BMM150_RESERVED31_REG   0x70

◆ C13DOF_BMM150_RESERVED32_REG

#define C13DOF_BMM150_RESERVED32_REG   0x71

◆ C13DOF_BMM150_RESERVED3_REG

#define C13DOF_BMM150_RESERVED3_REG   0x54

◆ C13DOF_BMM150_RESERVED4_REG

#define C13DOF_BMM150_RESERVED4_REG   0x55

◆ C13DOF_BMM150_RESERVED5_REG

#define C13DOF_BMM150_RESERVED5_REG   0x56

◆ C13DOF_BMM150_RESERVED6_REG

#define C13DOF_BMM150_RESERVED6_REG   0x57

◆ C13DOF_BMM150_RESERVED7_REG

#define C13DOF_BMM150_RESERVED7_REG   0x58

◆ C13DOF_BMM150_RESERVED8_REG

#define C13DOF_BMM150_RESERVED8_REG   0x59

◆ C13DOF_BMM150_RESERVED9_REG

#define C13DOF_BMM150_RESERVED9_REG   0x5A

◆ C13DOF_BMM150_RHALL_LSB_REG

#define C13DOF_BMM150_RHALL_LSB_REG   0x48

◆ C13DOF_BMM150_RHALL_MSB_REG

#define C13DOF_BMM150_RHALL_MSB_REG   0x49

◆ C13DOF_BMM150_SLEEP_MODE

#define C13DOF_BMM150_SLEEP_MODE   0x01

◆ C13DOF_BMM150_SLEEP_OPMODE

#define C13DOF_BMM150_SLEEP_OPMODE   0x06

◆ C13DOF_BMM150_SOFT_RESET_EN

#define C13DOF_BMM150_SOFT_RESET_EN   0x82

◆ C13DOF_BMM150_SPI3_EN

#define C13DOF_BMM150_SPI3_EN   0x04

◆ C13DOF_BMM150_SUSPEND_MODE_SPI4_EN

#define C13DOF_BMM150_SUSPEND_MODE_SPI4_EN   0x00