Annotation of 43BSD/sys/vaxuba/adreg.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1982, 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:  *     @(#)adreg.h     7.1 (Berkeley) 6/5/86
        !             7:  */
        !             8: 
        !             9: struct addevice {
        !            10:        short int ad_csr;                       /* Control status register */
        !            11:        short int ad_data;                      /* Data buffer */
        !            12: };
        !            13: 
        !            14: #define AD_CHAN                ADIOSCHAN
        !            15: #define AD_READ                ADIOGETW
        !            16: #define        ADIOSCHAN       _IOW(a, 0, int)         /* set channel */
        !            17: #define        ADIOGETW        _IOR(a, 1, int)         /* read one word */
        !            18: 
        !            19: /*
        !            20:  * Unibus CSR register bits
        !            21:  */
        !            22: 
        !            23: #define AD_START               01
        !            24: #define AD_SCHMITT             020
        !            25: #define AD_CLOCK               040
        !            26: #define AD_IENABLE             0100
        !            27: #define AD_DONE                0200
        !            28: #define AD_INCENABLE           040000
        !            29: #define AD_ERROR               0100000

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.