BeRTOS
|
MPXX6115A Pressure Sensor convert formula. More...
#include <drv/adc.h>
Go to the source code of this file.
Functions | |
int16_t | mpxx6115a_press (adcread_t vout, adcread_t vref) |
Convert read voltage from MPXX6115A Pressure Sensor in hPascal value. |
MPXX6115A Pressure Sensor convert formula.
This module convert read voltage value from MPXX6115A pressure sensor into hPascal value unit.
Definition in file mpxx6115a.h.
Convert read voltage from MPXX6115A Pressure Sensor in hPascal value.
The conversion formula may be consulted on constructor datasheet (see Freescale Semiconductor MP3H6115A, MPXAZ6115A).
vout | output voltage read from pin sensor. |
vref | reference voltage that supplies the MPXX6115A sensor. |
Definition at line 70 of file mpxx6115a.h.