00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef DEVICES_H
00023 #define DEVICES_H
00024 #include "list.hh"
00025 #include "sched.hh"
00026
00027 int adc_init (List *, Scheduler *);
00028 int adc (List *, Scheduler *);
00029 int adc_pre (List *, Scheduler *);
00030
00031 int laser_init (List *, Scheduler *);
00032 int laser_pre (List *, Scheduler *);
00033 int laser (List *, Scheduler *);
00034 int laser_close (List *, Scheduler *);
00035
00036 #define NUMBER_DEVICES 1
00037
00038 int (*Function_List [NUMBER_DEVICES]) (List *, Scheduler *) = {
00039 laser
00040 };
00041
00042 int (*Pre_Function_List [NUMBER_DEVICES]) (List *, Scheduler *) = {
00043 laser_pre
00044 };
00045
00046 int (*Init_Function_List [NUMBER_DEVICES]) (List *, Scheduler *) = {
00047 laser_init
00048 };
00049
00050 int (*Close_Function_List[NUMBER_DEVICES]) (List *, Scheduler *) = {
00051 laser_close
00052 };
00053
00054 #endif
00055