1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)clock.h	1.1 (2.10BSD Berkeley) 12/1/86
   7:  */
   8: 
   9: #define SECDAY      ((unsigned)(24*60*60))      /* seconds per day */
  10: #define SECYR       ((unsigned)(365*SECDAY))    /* per common year */
  11: 
  12: #define LKS     ((u_short *)0177546)    /* line clock */
  13: #define KW11P_CCSR  ((u_short *)0172540)    /* programmable clock */
  14: #define KW11P_CCSB  ((u_short *)0172542)    /* count set buffer */
  15: #define KW11P_CCNT  ((u_short *)0172544)    /* counter */
  16: 
  17: #define K_RUN       0x01            /* start counter */
  18: #define K_10KRATE   0x02            /* 10kHz frequency */
  19: #define K_LFRATE    0x04            /* line frequency */
  20: #define K_MODE      0x08            /* repeat interrupt */
  21: #define K_IENB      0x40            /* interrupt enable */

Defined macros

KW11P_CCNT defined in line 15; used 1 times
KW11P_CCSB defined in line 14; used 2 times
KW11P_CCSR defined in line 13; used 3 times
K_10KRATE defined in line 18; used 1 times
K_IENB defined in line 21; used 3 times
K_LFRATE defined in line 19; used 1 times
K_MODE defined in line 20; used 2 times
K_RUN defined in line 17; used 2 times
LKS defined in line 12; used 1 times
SECDAY defined in line 9; used 1 times
  • in line 10
SECYR defined in line 10; never used

Usage of this include

clock.h used 1 times
Last modified: 1987-01-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2216
Valid CSS Valid XHTML 1.0 Strict