X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7s-ek%2Fhw%2Fhw_tmp123.h;fp=boards%2Fat91sam7s-ek%2Fhw%2Fhw_tmp123.h;h=adb1858806adaf814ddc30a1b27ea41e26788fa4;hb=a22efc8dcc90c5fcb3811cf2667efb8a4e448134;hp=0000000000000000000000000000000000000000;hpb=bc0bd1c2cc28c168f9518cf6a4b11f09d39052fb;p=bertos.git diff --git a/boards/at91sam7s-ek/hw/hw_tmp123.h b/boards/at91sam7s-ek/hw/hw_tmp123.h new file mode 100644 index 00000000..adb18588 --- /dev/null +++ b/boards/at91sam7s-ek/hw/hw_tmp123.h @@ -0,0 +1,52 @@ +/** + * \file + * + * + * \brief Hardware macro definition. + * + * \author Daniele Basile + */ + +#ifndef HW_TMP123_H +#define HW_TMP123_H + +#warning TODO:This is an example implentation, you must implement it! + +#define TMP123_HW_CS_EN() /* Implement me! */ +#define TMP123_HW_CS_DIS() /* Implement me! */ + +#define TMP123_HW_INIT() \ + do { \ + /* Pin init */\ + } while (0) + +#endif /* HW_TMP123_H */ +