X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=boards%2Fek-lpc-p2378%2Fhw%2Fhw_tlv5618.h;fp=boards%2Fek-lpc-p2378%2Fhw%2Fhw_tlv5618.h;h=4a2b4202e42538f9bc0c2be15410f052cc94abac;hb=1b803b1b77ec99683f949e4e1e82b2bee936770f;hp=0000000000000000000000000000000000000000;hpb=f1597b21dbfbfceb5224956a041d84dc0aaeefb0;p=bertos.git diff --git a/boards/ek-lpc-p2378/hw/hw_tlv5618.h b/boards/ek-lpc-p2378/hw/hw_tlv5618.h new file mode 100644 index 00000000..4a2b4202 --- /dev/null +++ b/boards/ek-lpc-p2378/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 */ +