projects
/
cortex-from-scratch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added commenting, removed deprecated functions
[cortex-from-scratch]
/
include
/
sys
/
robsys.h
diff --git
a/include/sys/robsys.h
b/include/sys/robsys.h
index
162dafc
..
8070e60
100644
(file)
--- a/
include/sys/robsys.h
+++ b/
include/sys/robsys.h
@@
-8,14
+8,17
@@
* These values are used throughout the code to calculator desired baud
* rates etc.
*/
* 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 72
extern void clock_init();
extern void clock_init();
-extern int clock_test();
+
//
extern int clock_test();
// extern void clock_reset();
// 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);
/* IVT.C */
extern void ivt_init();
extern void ivt_set_gate(unsigned char, void *(), short);