+
+#define HMC5883_CONFIG_A_MA 5
+#define HMC5883_CONFIG_A_MA_1 0
+#define HMC5883_CONFIG_A_MA_2 1
+#define HMC5883_CONFIG_A_MA_4 2
+#define HMC5883_CONFIG_A_MA_8 3
+#define HMC5883_CONFIG_A_MA_MASK 3
+
+#define HMC5883_CONFIG_A_DO 2
+#define HMC5883_CONFIG_A_DO_0_75 0
+#define HMC5883_CONFIG_A_DO_1_5 1
+#define HMC5883_CONFIG_A_DO_3 2
+#define HMC5883_CONFIG_A_DO_7_5 3
+#define HMC5883_CONFIG_A_DO_15 4
+#define HMC5883_CONFIG_A_DO_30 5
+#define HMC5883_CONFIG_A_DO_75 6
+#define HMC5883_CONFIG_A_DO_MASK 7
+
+#define HMC5883_CONFIG_A_MS 0
+#define HMC5883_CONFIG_A_MS_NORMAL 0
+#define HMC5883_CONFIG_A_MS_POSITIVE_BIAS 1
+#define HMC5883_CONFIG_A_MS_NEGATIVE_BIAS 2
+#define HMC5883_CONFIG_A_MS_MASK 3
+