X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Ftriface%2Fhw%2Fhw_tlv5618.h;fp=boards%2Ftriface%2Fhw%2Fhw_tlv5618.h;h=4a2b4202e42538f9bc0c2be15410f052cc94abac;hb=bf7b83a7ba537d9cc4ead0fa5e3c68648bff7597;hp=0000000000000000000000000000000000000000;hpb=9a93cf6b1cd9a22b0b2fd1776ca0d1b480276002;p=bertos.git diff --git a/boards/triface/hw/hw_tlv5618.h b/boards/triface/hw/hw_tlv5618.h new file mode 100644 index 00000000..4a2b4202 --- /dev/null +++ b/boards/triface/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 */ +