Application Examples
EXAMPLE 3: REAL-TIME CLOCK DRIVERS
Objectives
•
Write the read and write routines which can initialize the time
and read it back.
•
Write the real-time clock access routine, which is required
before reading or writing the clock.
System Configuration
The ZT 8809A must be configured for the factory default jumper
assignments for this example. It is assumed that STD DOS is not
installed, since the clock is handled by STD DOS.
Software Outline
INIT_CLK Routine
BEGIN
Perform one read from the real-time clock to reset the
signature comparator
Send the 64-byte string to the real-time clock
END
READ_CLK Routine
BEGIN
Read 64 bytes from the real-time clock
Massage the data into separate bytes
4-40
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...