// outcnt6k.h struct OC { int PortAddress; // address of the port with this output line char onmask; // mask that will turn this line on when // ORed with the data value and stored back char offmask; // mask that will turn this line off when // ANDed with the data value and stored back int *PortData; // pointer to the data value for the port long seton; // on-time setting for this line // a -1 means run continuously long setoff; // off-time setting for this line long oncount; // counts left for on time long offcount; // counts left for off time }; // end outcnt6k.h