Overview

Driver for an STMicroelectronics LPS331AP digital barometric pressure sensor.

Resources

All correct at time of writing, but as always, manufacturers love to move things around on their website.

Web page

http://www.st.com/internet/analog/product/251601.jsp

Datasheet

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/DM00036196.pdf

Test hardware

This code has been tested using an ST STEVAL-MKI120V1 module:

http://www.st.com/internet/evalboard/product/253479.jsp

API Summary

Macros
LPS331AP_I2C_ADDR LPS331AP 8-bit I2C address
Functions
lps331ap_initialize_i2c Initialize sensor on I2C bus