This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
devMbboSoft.c
Go to the documentation of this file.
1
/*************************************************************************\
2
* Copyright (c) 2002 The University of Chicago, 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 Versions 3.13.7
7
* and higher are distributed subject to a Software License Agreement found
8
* in file LICENSE that is included with this distribution.
9
\*************************************************************************/
10
/* devMbboSoft.c */
11
/*
12
* Original Author: Bob Dalesio
13
* Current Author: Marty Kraimer
14
* Date: 6-1-90
15
*/
16
#include <stdlib.h>
17
#include <stdio.h>
18
#include <string.h>
19
20
#include "alarm.h"
21
#include "
dbDefs.h
"
22
#include "dbAccess.h"
23
#include "recGbl.h"
24
#include "
recSup.h
"
25
#include "
devSup.h
"
26
#include "mbboRecord.h"
27
#include "
epicsExport.h
"
28
29
/* Create the dset for devMbboSoft */
30
static
long
init_record
(dbCommon *pcommon);
31
static
long
write_mbbo(mbboRecord *
prec
);
32
33
mbbodset
devMbboSoft
= {
34
{5,
NULL
,
NULL
,
init_record
, NULL},
35
write_mbbo
36
};
37
epicsExportAddress
(
dset
,
devMbboSoft
);
38
39
static
long
init_record
(dbCommon *pcommon)
40
{
41
/*dont convert*/
42
return
2;
43
44
}
/* end init_record() */
45
46
static
long
write_mbbo(mbboRecord *
prec
)
47
{
48
dbPutLink(&prec->out,
DBR_USHORT
, &prec->val,1);
49
return
0;
50
}
epicsExportAddress
epicsExportAddress(dset, devMbboSoft)
recSup.h
DBR_USHORT
#define DBR_USHORT
Definition:
dbFldTypes.h:80
init_record
#define init_record
Definition:
permissiveRecord.c:39
NULL
#define NULL
Definition:
catime.c:38
dbDefs.h
Miscellaneous macro definitions.
devSup.h
Device support routines.
dset
Definition:
devSup.h:140
devMbboSoft
mbbodset devMbboSoft
Definition:
devMbboSoft.c:33
prec
int prec
Definition:
reader.c:29
epicsExport.h
Exporting IOC objects.
modules
database
src
std
dev
devMbboSoft.c
Generated by
1.8.11