X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=boards%2Flpc-p2378%2Fhw%2Fhw_buzzer.h;fp=boards%2Flpc-p2378%2Fhw%2Fhw_buzzer.h;h=01683c85ce65412495be41683bce1ffedec09e98;hb=c15b00a9a85e2aa3fdc681e63d7e92851035b63a;hp=0000000000000000000000000000000000000000;hpb=fd8bd1af65d3eaea3040d74df3d76b51577a67a6;p=bertos.git diff --git a/boards/lpc-p2378/hw/hw_buzzer.h b/boards/lpc-p2378/hw/hw_buzzer.h new file mode 100644 index 00000000..01683c85 --- /dev/null +++ b/boards/lpc-p2378/hw/hw_buzzer.h @@ -0,0 +1,52 @@ +/** + * \file + * + * + * \brief Buzzer hardware-specific definitions + * + * \version $Id: hw_buzzer.h 2506 2009-04-15 08:29:07Z duplo $ + * + * \author Francesco Sacchi + */ + +#ifndef HW_BUZZER_H +#define HW_BUZZER_H + +#warning TODO:This is an example implementation, you must implement it! + +#define BUZZER_BIT 1 +#define IS_BUZZER_ON 0 +#define BUZZER_HW_INIT do { /* Implement me! */ } while (0) +#define BUZZER_ON do { /* Implement me! */ } while (0) +#define BUZZER_OFF do { /* Implement me! */ } while (0) + +#endif /* HW_BUZZER_H */