DSCCB

Universal Driver Documentation
Structure containing hardware settings for the current board. Some elements are unique to particular boards.

Structure Definition

typedef struct {

    BYTE boardtype;
    DSCB boardnum;
    WORD base_address;
    BYTE int_level;
    BOOL RMM_external_trigger;
    BOOL RMM_external_trigger_c3;
    WORD EMM_IOAddr[8];
    WORD EMM_Interrupt[8];
    BYTE clkfrq0;
    BYTE clkfrq1;
    BYTE clksel1;
    WORD address_space;
} DSCCB;

Structure Members

Name Description
boardtype The board type constant; automatically filled by dscInitBoard;
boardnum The handle to the board; automatically filled in by dscInitBoard
base_address Base address of the board; refer to the board's user manual for valid base address settings
int_levelInterrupt level of the board; used for boards with only one IRQ.
RMM_external_triggerEnable or disable the external trigger; Used only on RMM416 and RMM1612
RMM_external_trigger_c3Enable or disable the external trigger; RMM416- and RMM1612-specific
EMM_IOAddr[8]I/O addresses for up to eight ports; EMM8-specific
EMM_Interrupt[8]Interrupts for up to eight ports; EMM8-specific
clkfrq0Frequency for on-board counter 0; used only on Prometheus; 0 = 10 MHz, 1= 1 MHz;
clkfrq1Frequency for on-board counter 1; used only on Prometheus; 0 = 10 MHz, 1= 100KHz;

clksel10 = internal oscillator with frequency set by clkfrq1, 1= external clock input CLK1; used only on Prometheus
address_spaceSize of I/O block in bytes to allocate. Only needed for DSC_RAW board type.


This page was last modified 23:41, 29 Jan 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.