projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add reg definition for adc driver.
[bertos.git]
/
bertos
/
drv
/
mpxx6115a.h
diff --git
a/bertos/drv/mpxx6115a.h
b/bertos/drv/mpxx6115a.h
index ba6a3c040775e9893ee1398dfa2d7781cb5a338c..aa5a682d2575f79a81a20963415bcd06922bd301 100644
(file)
--- a/
bertos/drv/mpxx6115a.h
+++ b/
bertos/drv/mpxx6115a.h
@@
-30,15
+30,24
@@
*
* -->
*
*
* -->
*
- * \brief Covert read voltage from MPXX6115A Pressure Sensor in hPascal value.
+ * \brief MPXX6115A Pressure Sensor convert formula.
+ *
+ * This module convert read voltage value from MPXX6115A
+ * pressure sensor into hPascal value unit.
*
* \author Daniele Basile <asterix@develer.com>
*
*
* \author Daniele Basile <asterix@develer.com>
*
+ * $WIZ$ module_name = "mpxx6115a"
+ * $WIZ$ module_depends = "adc"
+ * $WIZ$ module_configuration = ""
+ * $WIZ$ module_hw = ""
*/
#ifndef DRV_MPXX6115A_H
#define DRV_MPXX6115A_H
*/
#ifndef DRV_MPXX6115A_H
#define DRV_MPXX6115A_H
+#include <drv/adc.h>
+
#define MPXX6115A_DIV_CONST 0.009f
#define MPXX6115A_ADD_CONST 0.095f
#define MPXX6115A_DIV_CONST 0.009f
#define MPXX6115A_ADD_CONST 0.095f