X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fdevelgps%2Fhw%2Fhw_tlv5618.h;fp=examples%2Fdevelgps%2Fhw%2Fhw_tlv5618.h;h=4a2b4202e42538f9bc0c2be15410f052cc94abac;hb=ab03b5b37726fb8b39a6f6c915f8668bddd779ee;hp=0000000000000000000000000000000000000000;hpb=ec4804af8993aaf53193c71abdf890f7283fe5fb;p=bertos.git diff --git a/examples/develgps/hw/hw_tlv5618.h b/examples/develgps/hw/hw_tlv5618.h new file mode 100644 index 00000000..4a2b4202 --- /dev/null +++ b/examples/develgps/hw/hw_tlv5618.h @@ -0,0 +1,69 @@ +/** + * \file + * + * + * \brief TLV5816 DAC hardware-specific definitions + * + * + * \author Francesco Sacchi + */ + +#ifndef HW_TLV5816_H +#define HW_TLV5816_H + +#warning TODO:This is an example implementation, you must implement it! + +#define TLV5618_CSINIT(pin) \ +do \ +{ \ + (void)pin; \ + /* Implement me! */ \ + TLV5618_CSHIGH(pin); \ +} while(0) + +#define TLV5618_CSLOW(pin) \ +do \ +{ \ + (void)pin; \ + /* Implement me! */ \ +} while(0) + + +#define TLV5618_CSHIGH(pin) \ +do \ +{ \ + (void)pin; \ + /* Implement me! */ \ +} while(0) + + +#endif /* HW_TLV5816_H */ +