Hello, Can someone tell me what the following functions should do in case there is no RTC on the hardware board. My processor is a 405gpr. Which of these i must implement. (maybe some code snippets...). I think the most important one is calibrate_decr for it is necesary to calibrate_delay function.
Thanks... Joachim Denil Student long (*time_init <http://lxr.linux.no/ident?a=ppc;i=time_init>)(void); int (*set_rtc_time <http://lxr.linux.no/ident?a=ppc;i=set_rtc_time>)(unsigned long nowtime); unsigned long (*get_rtc_time<http://lxr.linux.no/ident?a=ppc;i=get_rtc_time> )(void); unsigned char (*rtc_read_val)(int addr<http://lxr.linux.no/ident?a=ppc;i=addr> ); void (*rtc_write_val)(int addr <http://lxr.linux.no/ident?a=ppc;i=addr>, unsigned char val <http://lxr.linux.no/ident?a=ppc;i=val>); void (*calibrate_decr)(void); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060513/11b8f3fe/attachment.htm