Commit d4aa0f99 authored by julien.delange's avatar julien.delange

Fix exarm device drivers



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@982 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 1da4dbee
......@@ -208,6 +208,7 @@ end exarm_ni_6071e_analog.i;
device exarm_ni_6071e_digital
features
data1 : out data port Base_Types::Unsigned_8;
data2 : out data port Base_Types::Unsigned_8;
end exarm_ni_6071e_digital;
......
......@@ -105,24 +105,24 @@ end driver;
abstract implementation driver.i
subcomponents
poller : thread thr_poller.i;
ni6071e_analog_poller : thread thr_poller.i;
connections
port poller.data1 -> data1;
port poller.data2 -> data2;
port poller.data3 -> data3;
port poller.data4 -> data4;
port poller.data5 -> data5;
port poller.data6 -> data6;
port poller.data7 -> data7;
port poller.data8 -> data8;
port poller.data9 -> data9;
port poller.data10 -> data10;
port poller.data11 -> data11;
port poller.data12 -> data12;
port poller.data13 -> data13;
port poller.data14 -> data14;
port poller.data15 -> data15;
port poller.data16 -> data16;
port ni6071e_analog_poller.data1 -> data1;
port ni6071e_analog_poller.data2 -> data2;
port ni6071e_analog_poller.data3 -> data3;
port ni6071e_analog_poller.data4 -> data4;
port ni6071e_analog_poller.data5 -> data5;
port ni6071e_analog_poller.data6 -> data6;
port ni6071e_analog_poller.data7 -> data7;
port ni6071e_analog_poller.data8 -> data8;
port ni6071e_analog_poller.data9 -> data9;
port ni6071e_analog_poller.data10 -> data10;
port ni6071e_analog_poller.data11 -> data11;
port ni6071e_analog_poller.data12 -> data12;
port ni6071e_analog_poller.data13 -> data13;
port ni6071e_analog_poller.data14 -> data14;
port ni6071e_analog_poller.data15 -> data15;
port ni6071e_analog_poller.data16 -> data16;
end driver.i;
end ocarina_drivers_exarm_ni_6071e_analog;
......@@ -14,6 +14,7 @@ end spg_init;
subprogram spg_poller
features
data1 : out parameter Base_Types::Unsigned_8;
data2 : out parameter Base_Types::Unsigned_8;
properties
Source_Language => C;
Source_Name => "__po_hi_c_driver_exarm_ni_6071e_digital_poller";
......@@ -23,6 +24,7 @@ end spg_poller;
thread thr_poller
features
data1 : out data port Base_Types::Unsigned_8;
data2 : out data port Base_Types::Unsigned_8;
end thr_poller;
thread implementation thr_poller.i
......@@ -32,6 +34,7 @@ calls
};
connections
parameter pspg.data1 -> data1;
parameter pspg.data2 -> data2;
properties
Period => 100 ms;
Dispatch_Protocol => Periodic;
......@@ -41,13 +44,15 @@ end thr_poller.i;
abstract driver
features
data1 : out data port Base_Types::Unsigned_8;
data2 : out data port Base_Types::Unsigned_8;
end driver;
abstract implementation driver.i
subcomponents
poller : thread thr_poller.i;
ni6071e_digital_poller : thread thr_poller.i;
connections
port poller.data1 -> data1;
port ni6071e_digital_poller.data1 -> data1;
port ni6071e_digital_poller.data2 -> data2;
end driver.i;
end ocarina_drivers_exarm_ni_6071e_digital;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment