comparison level1/sys/mc09rtc.hp @ 3118:ef66bdab9b45

mc09: Add mc09rtc command and GPIO registers defs in mc09.d New command mc09rtc to read/write a DS1802 RTC attached to multicomp09 GPIO. New help file mc09rtc.hp. Associated additions to mc09 makefile(s).
author Neal Crook <foofoobedoo@gmail.com>
date Tue, 01 Dec 2015 19:56:20 +0000
parents
children
comparison
equal deleted inserted replaced
3117:47cd23dcf55e 3118:ef66bdab9b45
1 @MC09RTC
2 Syntax: mc09rtc [<opts>]
3 Usage : Read or write DS1302 RTC connected to Multicomp09 GPIO hardware.
4 Opts :
5 -r = read RTC -- update system time from RTC
6 use this in your startup file to set the system time at boot
7 -w = write RTC -- update RTC from system time
8 use this from the shell to initialise the RTC
9 -d = dump system time, RTC time and RAM
10
11 futures/maybe:
12 add options to write bits/bytes of the RAM