DSCCR

Universal Driver Documentation
Structure containing information on all counters. This is used for functions operating on 82C54 counters (all boards except Quartz-MM).

Structure Definition

typedef struct {

    BYTE control_code;
    BYTE counter_number;
    DWORD counter_data;
    DSCCS counter0;
    DSCCS counter1;
    DSCCS counter2;

} DSCCR;

Structure Members

NameDescription
control_codeControl code to write to or read from the control word register
counter_numberSelected counter, 0-2
counter_dataCounter divisor value, 0-65535
counter0Status and data read from counter 0
counter1Status and data read from counter 1
counter2Status and data read from counter 2


This page was last modified 00:16, 30 Jan 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.