From e7e77e415f4de31a60234674820e764e116ccdd5 Mon Sep 17 00:00:00 2001 From: John Winans Date: Mon, 9 Jan 1995 20:52:02 +0000 Subject: [PATCH] Added analog input support for temperature --- src/dev/devSysmon.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/dev/devSysmon.c b/src/dev/devSysmon.c index 40e01701e..bc6708bc8 100644 --- a/src/dev/devSysmon.c +++ b/src/dev/devSysmon.c @@ -59,6 +59,9 @@ * ... * * $Log$ + * Revision 1.7 1995/01/09 20:28:42 winans + * Added AI support for temperature input + * * Revision 1.6 1995/01/06 16:55:04 winans * enabled irq services and rearranged the parm names and meanings. * @@ -261,13 +264,24 @@ struct dset_sysmon { }; typedef struct dset_sysmon DSET_SYSMON; -DSET_SYSMON devAiSysmon={ - 5, +struct{ + long number; + DEVSUPFUN report; /* used by dbior */ + DEVSUPFUN init; /* called 1 time before & after all records */ + DEVSUPFUN init_record; /* called 1 time for each record */ + DEVSUPFUN get_ioint_info; /* used for COS processing */ + DEVSUPFUN read_write; /* output command goes here */ + DEVSUPFUN dumb_lincov_thing; +} +devAiSysmon= +{ + 6, NULL, SysmonInit, SysmonInitAiRec, NULL, - SysmonReadAi + SysmonReadAi, + NULL }; DSET_SYSMON devBoSysmon={