X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fhw%2Fhw_ser.h;fp=boards%2Fat91sam7x-ek%2Fhw%2Fhw_ser.h;h=2489c433bb95a1819964a74e9904569537e38faa;hb=ea12a07185cfa16b2a37d39ec7bdaf988b283c0c;hp=0000000000000000000000000000000000000000;hpb=0c218b3a5f1ef761db3f8a9139f6b4fa05d2cf9d;p=bertos.git diff --git a/boards/at91sam7x-ek/hw/hw_ser.h b/boards/at91sam7x-ek/hw/hw_ser.h new file mode 100644 index 00000000..2489c433 --- /dev/null +++ b/boards/at91sam7x-ek/hw/hw_ser.h @@ -0,0 +1,53 @@ +/** + * \file + * + * + * \brief Serial hardware-specific definitions + * + * \version $Id$ + * + * \author Daniele Basile + */ + +#ifndef HW_SER_H +#define HW_SER_H + +#include "cfg/cfg_ser.h" + +#if CONFIG_SER_STROBE + #warning FIXME: this is an example implementation, you must implement it + + #define SER_STROBE_INIT do { /* implement me */ } while (0) + #define SER_STROBE_ON do { /* implement me */ } while (0) + #define SER_STROBE_OFF do { /* implement me */ } while (0) +#endif + +#endif /* HW_SER_H */