Mercurial > hg > Members > kono > nitros9-code
annotate level1/sys/mc09rtc.hp @ 3295:6b7a7b233925 default tip
makefile: Allow PORTS with level1/2 mix
https://sourceforge.net/p/nitros9/feature-requests/10/
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 19 Apr 2022 18:12:17 +0200 |
parents | ef66bdab9b45 |
children |
rev | line source |
---|---|
3118
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
1 @MC09RTC |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
2 Syntax: mc09rtc [<opts>] |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
3 Usage : Read or write DS1302 RTC connected to Multicomp09 GPIO hardware. |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
4 Opts : |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
5 -r = read RTC -- update system time from RTC |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
6 use this in your startup file to set the system time at boot |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
7 -w = write RTC -- update RTC from system time |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
8 use this from the shell to initialise the RTC |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
9 -d = dump system time, RTC time and RAM |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
10 |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
11 futures/maybe: |
ef66bdab9b45
mc09: Add mc09rtc command and GPIO registers defs in mc09.d
Neal Crook <foofoobedoo@gmail.com>
parents:
diff
changeset
|
12 add options to write bits/bytes of the RAM |