This is Unofficial EPICS BASE Doxygen Site
devMbboDirectSoft.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 /* devMbboDirectSoft.c */
10 /*
11  * Original Author: Bob Dalesio
12  * Date: 10-08-93
13  */
14 
15 #include <stdio.h>
16 
17 #include "dbAccess.h"
18 #include "devSup.h"
19 #include "mbboDirectRecord.h"
20 #include "epicsExport.h"
21 
22 static long write_mbbo(mbboDirectRecord *prec)
23 {
24  dbPutLink(&prec->out, DBR_ULONG, &prec->val, 1);
25  return 0;
26 }
27 
28 /* Create the dset for devMbboDirectSoft */
29 mbbodirectdset devMbboDirectSoft = {
30  {5, NULL, NULL, NULL, NULL},
31  write_mbbo
32 };
#define NULL
Definition: catime.c:38
Device support routines.
Definition: devSup.h:140
mbbodirectdset devMbboDirectSoft
epicsExportAddress(dset, devMbboDirectSoft)
int prec
Definition: reader.c:29
#define DBR_ULONG
Definition: dbFldTypes.h:82
Exporting IOC objects.