31 #define BMPX8X_DEFAULT_I2C_BUS 0 32 #define BMPX8X_DEFAULT_I2C_ADDR 0x77 33 #define BMPX8X_DEFAULT_CHIPID 0x55 35 #define BMPX8X_RESET_BYTE 0xb6 45 BMPX8X_CAL_AC1 = 0xaa,
47 BMPX8X_CAL_AC2 = 0xac,
48 BMPX8X_CAL_AC3 = 0xae,
49 BMPX8X_CAL_AC4 = 0xb0,
50 BMPX8X_CAL_AC5 = 0xb2,
51 BMPX8X_CAL_AC6 = 0xb4,
58 BMPX8X_CTRL_MEAS = 0xf4,
60 BMPX8X_OUTDATA_MSB = 0xf6,
61 BMPX8X_OUTDATA_LSB = 0xf7,
62 BMPX8X_OUTDATA_XLSB = 0xf8,
73 BMPX8X_CTRL_MEAS_CMD0 = 0x01,
74 BMPX8X_CTRL_MEAS_CMD1 = 0x02,
75 BMPX8X_CTRL_MEAS_CMD2 = 0x04,
76 BMPX8X_CTRL_MEAS_CMD3 = 0x08,
77 BMPX8X_CTRL_MEAS_CMD4 = 0x10,
78 _BMPX8X_CTRL_MEAS_CMD_MASK = 31,
79 _BMPX8X_CTRL_MEAS_CMD_SHIFT = 0,
81 BMPX8X_CTRL_MEAS_SCO = 0x20,
83 BMPX8X_CTRL_MEAS_OSS0 = 0x40,
84 BMPX8X_CTRL_MEAS_OSS1 = 0x80,
85 _BMPX8X_CTRL_MEAS_OSS_MASK = 3,
86 _BMPX8X_CTRL_MEAS_OSS_SHIFT = 6,
87 } BMPX8X_CTRL_MEAS_BITS_T;
93 BMPX8X_CMD_READ_TEMP = 0x2e,
94 BMPX8X_CMD_READ_PRESSURE = 0x34
101 BMPX8X_OSS_ULTRALOWPOWER = 0,
102 BMPX8X_OSS_STANDARD = 1,
103 BMPX8X_OSS_HIGHRES = 2,
104 BMPX8X_OSS_ULTRAHIGHRES = 3