This is Unofficial EPICS BASE Doxygen Site
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
devAoSoftRaw.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
/* devAoSoftRaw.c */
11
12
/* Device Support Routines for soft raw Analog Output Records*/
13
/*
14
* Author: Janet Anderson
15
* Date: 09-25-91
16
*/
17
18
#include <stdlib.h>
19
#include <stdio.h>
20
#include <string.h>
21
22
#include "alarm.h"
23
#include "
dbDefs.h
"
24
#include "dbAccess.h"
25
#include "dbEvent.h"
26
#include "recGbl.h"
27
#include "
recSup.h
"
28
#include "
devSup.h
"
29
#include "
link.h
"
30
#include "
special.h
"
31
#include "aoRecord.h"
32
#include "
epicsExport.h
"
33
34
/* Create the dset for devAoSoftRaw */
35
static
long
write_ao(aoRecord *
prec
);
36
37
aodset
devAoSoftRaw
= {
38
{6,
NULL
,
NULL
,
NULL
, NULL},
39
write_ao, NULL
40
};
41
epicsExportAddress
(
dset
,
devAoSoftRaw
);
42
43
static
long
write_ao(aoRecord *
prec
)
44
{
45
long
status
;
46
47
status = dbPutLink(&prec->out,
DBR_LONG
,&prec->rval,1);
48
49
return
(status);
50
}
special.h
epicsExportAddress
epicsExportAddress(dset, devAoSoftRaw)
status
pvd::Status status
Definition:
sharedstate_pv.cpp:122
recSup.h
NULL
#define NULL
Definition:
catime.c:38
dbDefs.h
Miscellaneous macro definitions.
devSup.h
Device support routines.
dset
Definition:
devSup.h:140
DBR_LONG
#define DBR_LONG
Definition:
db_access.h:75
link.h
prec
int prec
Definition:
reader.c:29
devAoSoftRaw
aodset devAoSoftRaw
Definition:
devAoSoftRaw.c:37
epicsExport.h
Exporting IOC objects.
modules
database
src
std
dev
devAoSoftRaw.c
Generated by
1.8.11