MPL3115A2_Arduino 1.0.1
This library enables the developer to evaluate NXP MPL3115A2(S) with Arduino.
Loading...
Searching...
No Matches
Classes | Macros | Enumerations
MPL3115A2_Arduino.h File Reference

This file is header for MPL3115A2_Arduino. More...

#include <Arduino.h>
#include "mpl3115.h"
#include <I2C_device.h>

Go to the source code of this file.

Classes

class  MPL3115A2_Arduino
 

Macros

#define I2C_address   (uint8_t) 0x60
 

Enumerations

enum  mpl3115_mode { MPL3115_barometer =0 , MPL3115_altimeter =1 }
 
enum  mpl3115_OSR {
  MPL3115_OSR_1 =0 , MPL3115_OSR_2 =1 , MPL3115_OSR_4 =2 , MPL3115_OSR_8 =3 ,
  MPL3115_OSR_16 =4 , MPL3115_OSR_32 =5 , MPL3115_OSR_64 =6 , MPL3115_OSR_128 =7
}
 
enum  mpl3115_INT { MPL3115_INT2 =0 , MPL3115_INT1 }
 
enum  mpl3115_pressure_target { MPL3115_P =MPL3115_OUT_P_MSB , MPL3115_P_DELTA =MPL3115_OUT_P_DELTA_MSB , MPL3115_P_MIN =MPL3115_P_MIN_MSB , MPL3115_P_MAX =MPL3115_P_MAX_MSB }
 
enum  mpl3115_temperature_target { MPL3115_T =MPL3115_OUT_T_MSB , MPL3115_T_DELTA =MPL3115_OUT_T_DELTA_MSB , MPL3115_T_MIN =MPL3115_T_MIN_MSB , MPL3115_T_MAX =MPL3115_T_MAX_MSB }
 

Detailed Description

This file is header for MPL3115A2_Arduino.

Definition in file MPL3115A2_Arduino.h.

Macro Definition Documentation

◆ I2C_address

#define I2C_address   (uint8_t) 0x60

Definition at line 22 of file MPL3115A2_Arduino.h.

Enumeration Type Documentation

◆ mpl3115_INT

enum mpl3115_INT

Definition at line 26 of file MPL3115A2_Arduino.h.

◆ mpl3115_mode

enum mpl3115_mode

Definition at line 24 of file MPL3115A2_Arduino.h.

◆ mpl3115_OSR

enum mpl3115_OSR

Definition at line 25 of file MPL3115A2_Arduino.h.

◆ mpl3115_pressure_target

enum mpl3115_pressure_target

Definition at line 27 of file MPL3115A2_Arduino.h.

◆ mpl3115_temperature_target

enum mpl3115_temperature_target

Definition at line 28 of file MPL3115A2_Arduino.h.