home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
140_01
/
clock.h
< prev
next >
Wrap
Text File
|
1985-03-10
|
1KB
|
19 lines
#define CLKCMD 0X5A /* Command port for Godbout SS 1 clock */
#define CDATA CLKCMD+1 /* Data port for Godbout SS 1 clock */
#define CLOCK 0
#define SEC1 CLOCK /* Unit seconds digit address */
#define SEC10 CLOCK+1 /* Tens of seconds digit address */
#define MIN1 CLOCK+2 /* Unit miniutes digit address */
#define MIN10 CLOCK+3 /* Tens of minutes digit address */
#define HOUR1 CLOCK+4 /* Unit hours digit address */
#define HOUR10 CLOCK+5 /* Tens of hours digit address */
#define WDAY CLOCK+6 /* Day of week digit address */
#define DAY1 CLOCK+7 /* Unit days digit address */
#define DAY10 CLOCK+8 /* Tens of days digit address */
#define MONTH1 CLOCK+9 /* Unit months digit address */
#define MONTH10 CLOCK+10 /* Tens of months digit address */
#define YEAR1 CLOCK+11 /* Unit years digit address*/
#define YEAR10 CLOCK+12 /* Tens of years digit address*/
#define MASK 0X000F /* Digit bit mask, lower 4 bits BDC digit */
#define CREAD 0X10