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
- Committer:
- Rhyme
- Date:
- 2016-04-26
- Revision:
- 0:d4bbd473a83c
- Child:
- 2:bb0d86f35a25
File content as of revision 0:d4bbd473a83c:
#ifndef MSU_H
#define MSU_H
#define MSU_MMA8451Q_ADDRESS 0x1C
#define MSU_MMA8452Q_ADDRESS 0x1D
#define MSU_MAG3110_ADDRESS 0x0E
#define MSU_HIH6130_ADDRESS 0x27
#define MSU_FXOS8700CQ_ADDRESS 0x1E
#define MSU_MAX44000_ADDRESS 0x4A
#define MSU_MAX44005_ADDRESS 0x4A
#define MSU_MAX44008_ADDRESS 0x41
#define MSU_MAX30101_ADDRESS 0x57
#define MSU_MPL3115A2_ADDRESS 0x60
#define MSU_IS31SE5000_ADDRESS 0x55
#define MSU_VEML6040A_ADDRESS 0x10
#define MSU_VEML6075A_ADDRESS 0x10
typedef void (*fptr)(void) ;
typedef struct _i2c_sensor_struct {
uint16_t address ;
char *name ;
fptr test_func ;
} i2c_sensor_type ;
void testMMA8451Q(void) ;
void testMMA8452Q(void) ;
void testMAG3110(void) ;
void testHIH6130(void) ;
void testFXOS8700CQ(void) ;
void testMAX44000(void) ;
void testMAX44005(void) ;
void testMAX44008(void) ;
void testMAX30101(void) ;
void testMPL3115A2(void) ;
void testIS31SE5000(void) ;
void testVEML6040A(void) ;
void testVEML6075A(void) ;
extern i2c_sensor_type i2c_sensor[] ;
#endif