/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:59 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:09 _$11$DUA933:[BUILD.SDL]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LADEF ***/ #ifndef __LADEF_LOADED #define __LADEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #endif /*+ */ /* */ /* LPA-11 CHARACTERISTICS DEFINITIONS */ /* */ /*- */ /*MICROCODE TYPE VALUES */ #define LA$K_MRMCODE 1 /* MULTIREQUEST MICROCODE */ #define LA$K_ADMCODE 2 /* DEDICATED A/D MICROCODE */ #define LA$K_DAMCODE 3 /* DEDICATED D/A MICROCODE */ #define LA$M_MCVALID 0x1 #define LA$M_CLOCKA 0x8 #define LA$M_CLOCKB 0x10 #define LA$M_AD1 0x20 #define LA$M_AD2 0x40 #define LA$M_DA 0x80 #define LA$M_DIO1 0x100 #define LA$M_DIO2 0x200 #define LA$M_DIO3 0x400 #define LA$M_DIO4 0x800 #define LA$M_DIO5 0x1000 #define LA$M_BFROVRN 0x800000 union ladef { __struct { unsigned la$v_mcvalid : 1; /* MICROCODE VALID */ unsigned la$v_mctype : 2; /* MICROCODE TYPE */ unsigned la$v_config : 10; /* DEVICE CONFIGURATION BITS */ unsigned la$v_rate : 3; /* CLOCK RATE */ unsigned la$v_preset : 16; /* CLOCK PRESET */ } la$r_ladef_bits0; __struct { unsigned ladef$$_fill_1 : 3; /* SKIP OVER MICROCODE VALID AND TYPE */ unsigned la$v_clocka : 1; /* CLOCK A */ unsigned la$v_clockb : 1; /* CLOCK B */ unsigned la$v_ad1 : 1; /* A/D ! 1 */ unsigned la$v_ad2 : 1; /* A/D ! 2 */ unsigned la$v_da : 1; /* D/A */ unsigned la$v_dio1 : 1; /* DIGITAL I/O ! 1 */ unsigned la$v_dio2 : 1; /* DIGITAL I/O ! 2 */ unsigned la$v_dio3 : 1; /* DIGITAL I/O ! 3 */ unsigned la$v_dio4 : 1; /* DIGITAL I/O ! 4 */ unsigned la$v_dio5 : 1; /* DIGITAL I/O ! 5 */ unsigned la$v_fill_54 : 3; } la$r_ladef_bits1; __struct { unsigned ladef$$_fill_2 : 23; /*(IN USER'S COMMAND TABLE) */ unsigned la$v_bfrovrn : 1; /* BUFFER OVERRUN NON-FATAL BIT */ } la$r_ladef_bits2; } ; #if !defined(__VAXC) && !defined(VAXC) #define la$v_mcvalid la$r_ladef_bits0.la$v_mcvalid #define la$v_mctype la$r_ladef_bits0.la$v_mctype #define la$v_config la$r_ladef_bits0.la$v_config #define la$v_rate la$r_ladef_bits0.la$v_rate #define la$v_preset la$r_ladef_bits0.la$v_preset #define la$v_clocka la$r_ladef_bits1.la$v_clocka #define la$v_clockb la$r_ladef_bits1.la$v_clockb #define la$v_ad1 la$r_ladef_bits1.la$v_ad1 #define la$v_ad2 la$r_ladef_bits1.la$v_ad2 #define la$v_da la$r_ladef_bits1.la$v_da #define la$v_dio1 la$r_ladef_bits1.la$v_dio1 #define la$v_dio2 la$r_ladef_bits1.la$v_dio2 #define la$v_dio3 la$r_ladef_bits1.la$v_dio3 #define la$v_dio4 la$r_ladef_bits1.la$v_dio4 #define la$v_dio5 la$r_ladef_bits1.la$v_dio5 #define la$v_bfrovrn la$r_ladef_bits2.la$v_bfrovrn #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __LADEF_LOADED */