basic command implementation traditional way
[cortex-from-scratch] / include / sys / robsys.h
index 162dafc..bac6703 100644 (file)
@@ -8,14 +8,17 @@
  * These values are used throughout the code to calculator desired baud
  * rates etc.
  */
-#define ENABLE_HSE     
-#define ENABLE_RTC     
-//efine CRYSTAL_MHZ    8
-//efine CLKSPEED_MHZ   72
+//#define ENABLE_HSE           
+//#define CRYSTAL_MHZ  8
+#define CLKSPEED_MHZ 8
 extern void clock_init();
-extern int clock_test();
+// extern int clock_test();
 // extern void clock_reset();
 
+/* RTC.C */
+#define ENABLE_RTC     
+extern void rtc_init();
+
 /* IVT.C */
 extern void ivt_init();
 extern void ivt_set_gate(unsigned char, void *(), short);