X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Fmpxx6115a.h;h=aa5a682d2575f79a81a20963415bcd06922bd301;hb=e25abecb6a6ff52917d44d1331e5af831aeceb9c;hp=ba6a3c040775e9893ee1398dfa2d7781cb5a338c;hpb=79e713c531538e1e959b0b7205394e34c45a0dfa;p=bertos.git diff --git a/bertos/drv/mpxx6115a.h b/bertos/drv/mpxx6115a.h index ba6a3c04..aa5a682d 100644 --- 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 * + * $WIZ$ module_name = "mpxx6115a" + * $WIZ$ module_depends = "adc" + * $WIZ$ module_configuration = "" + * $WIZ$ module_hw = "" */ #ifndef DRV_MPXX6115A_H #define DRV_MPXX6115A_H +#include + #define MPXX6115A_DIV_CONST 0.009f #define MPXX6115A_ADD_CONST 0.095f