X-Git-Url: https://robinkrens.nl/gitweb/?a=blobdiff_plain;f=include%2Fsys%2Frobsys.h;h=8070e60c309eecef191d30eafeea401f2b52d1d7;hb=43b1749173f70bdf67884d920b93f6a5b1f19a1d;hp=162dafc1c0bee2945e9382ed7e754169d2e27b51;hpb=d98e5505c9433565ebb71fa6a843997ea0e0cda6;p=cortex-from-scratch diff --git a/include/sys/robsys.h b/include/sys/robsys.h index 162dafc..8070e60 100644 --- 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. */ -#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 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);