Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXOS8700CQ HIH6130 IS31SE5000 MAG3110 MAX44000 MAX44005 MAX44008 MMA8451Q MMA8452Q MPL3115A2 VEML6040 VEML6075 mbed vt100 LM75B FXAS21002 MAX30101 VCNL4020 VCNL4100
MSU.h
00001 #ifndef MSU_H 00002 #define MSU_H 00003 00004 #define MSU_MMA8451Q_ADDRESS 0x1C 00005 #define MSU_MMA8452Q_ADDRESS 0x1D 00006 #define MSU_MAG3110_ADDRESS 0x0E 00007 #define MSU_HIH6130_ADDRESS 0x27 00008 #define MSU_FXOS8700CQ_ADDRESS 0x1E 00009 #define MSU_MAX44000_ADDRESS 0x4A 00010 #define MSU_MAX44005_ADDRESS 0x44 00011 #define MSU_MAX44008_ADDRESS 0x41 00012 #define MSU_MAX30101_ADDRESS 0x57 00013 #define MSU_MPL3115A2_ADDRESS 0x60 00014 #define MSU_IS31SE5000_ADDRESS 0x55 00015 #define MSU_VEML6040A_ADDRESS 0x10 00016 #define MSU_VEML6075_ADDRESS 0x10 00017 #define MSU_LM75B_ADDRESS 0x48 00018 #define MSU_FXAS21002_ADDRESS 0x20 00019 #define MSU_S11059_ADDRESS 0x2A 00020 #define MAX30101_I2C_ADDRESS 0x57 00021 #define MSU_VCNL4100_I2C_ADDRESS 0x60 00022 #define MSU_AK09970N_I2C_ADDRESS 0x0C 00023 #define MSU_AK9752_I2C_ADDRESS 0x64 00024 #define MSU_AK9753_I2C_ADDRESS 0x66 00025 00026 typedef void (*fptr)(void) ; 00027 00028 typedef struct _i2c_sensor_struct { 00029 uint16_t address ; 00030 char *name ; 00031 fptr test_func ; 00032 } i2c_sensor_type ; 00033 00034 void doDemo(void) ; 00035 void testMMA8451Q(void) ; 00036 void testMMA8452Q(void) ; 00037 void testMAG3110(void) ; 00038 void testHIH6130(void) ; 00039 void testFXOS8700CQ(void) ; 00040 void testMAX44000(void) ; 00041 void testMAX44005(void) ; 00042 void testMAX44008(void) ; 00043 void testMAX30101(void) ; 00044 void testMPL3115A2(void) ; 00045 void testIS31SE5000(void) ; 00046 void testVEML6040A(void) ; 00047 void testVEML6075(void) ; 00048 void testVCNL4100(void) ; 00049 void testLM75B(void) ; 00050 void testFXAS21002(void) ; 00051 void testS11059(void) ; 00052 void testMAX30101(void) ; 00053 void testAK9752(void) ; 00054 void testAK9753(void) ; 00055 void testAK09970N(void) ; 00056 00057 extern i2c_sensor_type i2c_sensor[] ; 00058 #endif
Generated on Fri Jul 15 2022 06:46:16 by
1.7.2