X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftmp123.h;fp=bertos%2Fdrv%2Ftmp123.h;h=cb7b377c09948ab583d11fa484bdfe08ef93e8db;hb=56d6f07e5c87bf8745bb9548ae2227b39d083883;hp=0000000000000000000000000000000000000000;hpb=80fef33198b667b00c49bc2f0b32a2aa0258d8a0;p=bertos.git diff --git a/bertos/drv/tmp123.h b/bertos/drv/tmp123.h new file mode 100644 index 00000000..cb7b377c --- /dev/null +++ b/bertos/drv/tmp123.h @@ -0,0 +1,56 @@ +/** + * \file + * + * + * \brief TMP123 Texas Intrument sensor temperature. + * + * \author Daniele Basile + * + * $WIZ$ module_name = "tmp123" + * $WIZ$ module_depends = "timer", "kfile" + * $WIZ$ module_configuration = "" + * $WIZ$ module_hw = "bertos/hw/hw_tmp123.h" + */ + +#ifndef DRV_TMP123_H +#define DRV_TMP123_H + +#include + +#include + +typedef int16_t deci_celsius_t; + +deci_celsius_t tmp123_read(KFile *fd); + +void tmp123_init(void); + +#endif /* DRV_TMP123_H */