# 2.11BSD#431 - /usr/src/sys/pdp/clock.h

##### Macros

    KW11P_CCNT        X
    KW11P_CCSB        X
    KW11P_CCSR        X
    K_10KRATE         X
    K_IENB            X
    K_LFRATE          X
    K_MODE            X
    K_RUN             X
    LKS               X
    SECDAY            X
    SECYR             X

       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

- in /usr/src/sys/pdp/clock.c line 23

KW11P_CCSB defined in line 14; used 2 times

- in /usr/src/sys/pdp/clock.c line 24, 40

KW11P_CCSR defined in line 13; used 3 times

- in /usr/src/sys/pdp/clock.c line 18, 38-41(2)

K_10KRATE defined in line 18; used 1 times

- in /usr/src/sys/pdp/clock.c line 41

K_IENB defined in line 21; used 3 times

- in /usr/src/sys/pdp/clock.c line 25-28(2), 41

K_LFRATE defined in line 19; used 1 times

- in /usr/src/sys/pdp/clock.c line 25

K_MODE defined in line 20; used 2 times

- in /usr/src/sys/pdp/clock.c line 25, 41

K_RUN defined in line 17; used 2 times

- in /usr/src/sys/pdp/clock.c line 25, 41

LKS defined in line 12; used 1 times

- in /usr/src/sys/pdp/clock.c line 16

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

- in /usr/src/sys/pdp/clock.c line 10

Last modified: 1987-01-09 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 453 |