X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Flm3s1968%2Fhw%2Fhw_cpu.h;fp=examples%2Flm3s1968%2Fhw%2Fhw_cpu.h;h=52e3d4b8a1f3f940a6a748ee3358f1a39b2839f8;hb=24c21c92d29b76a3f0de0a107f4bafef7bb0f812;hp=0000000000000000000000000000000000000000;hpb=6b7a2e7b20bc7fe05a61c17d6d96eb70c67a09c9;p=bertos.git diff --git a/examples/lm3s1968/hw/hw_cpu.h b/examples/lm3s1968/hw/hw_cpu.h new file mode 100644 index 00000000..52e3d4b8 --- /dev/null +++ b/examples/lm3s1968/hw/hw_cpu.h @@ -0,0 +1,56 @@ +/** + * \file + * + * + * \brief Hardware-specific definitions + * + * \version $Id$ + * + * \author Bernie Innocenti + */ + +#ifndef HW_CPU_H +#define HW_CPU_H + +#warning TODO:This is an example implementation, you must implement it! + +/// CPU Clock frequency +#define CLOCK_FREQ (48023000L/* Implement me! */) + + +/* Timer IRQ strobe */ +//#if CONFIG_TIMER_STROBE +// #define TIMER_STROBE_ON /* Implement me! */ +// #define TIMER_STROBE_OFF /* Implement me! */ +// #define TIMER_STROBE_INIT /* Implement me! */ +//#endif /* CONFIG_TIMER_STROBE */ + +#endif /* HW_CPU_H */