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

update the exarm driver description



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@769 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 2b8b8d3f
......@@ -6,11 +6,14 @@ with deployment;
with ocarina_buses;
with Data_Model;
with ocarina_drivers_rasta_1553;
with ocarina_drivers_rasta_serial;
with ocarina_drivers_rasta_spacewire;
with ocarina_drivers_rtems_ne2000;
with ocarina_drivers_udp_exarm;
with ocarina_drivers_serial;
with ocarina_drivers_ip_asn1;
......@@ -128,6 +131,25 @@ properties
Provided_Virtual_Bus_Class => (classifier (ocarina_buses::pohi.c));
end rtems_ne2000.ip_pohic;
device exarm
features
thebus : requires bus access ocarina_buses::ip.i;
end exarm;
device implementation exarm.i
properties
Deployment::Driver_Name => "exarm";
Device_Driver => classifier (ocarina_drivers_udp_exarm::driver.i);
Initialize_Entrypoint => classifier (ocarina_drivers_udp_exarm::init);
end exarm.i;
data exarm_protocol_data
end exarm_protocol_data;
data implementation exarm_protocol_data.i extends ocarina_drivers_udp_exarm::protocol.i
properties
Data_Model::Data_Representation => Struct;
end exarm_protocol_data.i;
end ocarina_drivers;
package ocarina_drivers_udp_exarm
public
with Data_Model;
with Base_Types;
data protocol
properties
Data_Model::Data_Representation => Struct;
end protocol;
data implementation protocol.i
subcomponents
cmd : data Base_Types::Unsigned_32;
pktid : data Base_Types::Unsigned_32;
X1 : data Base_Types::Float_32;
X2 : data Base_Types::Float_32;
X3 : data Base_Types::Float_32;
Y1 : data Base_Types::Float_32;
Y2 : data Base_Types::Float_32;
Y3 : data Base_Types::Float_32;
Z1 : data Base_Types::Float_32;
Z2 : data Base_Types::Float_32;
Z3 : data Base_Types::Float_32;
P1 : data Base_Types::Float_32;
P2 : data Base_Types::Float_32;
P3 : data Base_Types::Float_32;
J1 : data Base_Types::Float_32;
J2 : data Base_Types::Float_32;
J3 : data Base_Types::Float_32;
J4 : data Base_Types::Float_32;
J5 : data Base_Types::Float_32;
J6 : data Base_Types::Float_32;
J7 : data Base_Types::Float_32;
Elbow : data Base_Types::Float_32;
end protocol.i;
subprogram init
properties
Source_Language => C;
Source_Name => "__po_hi_driver_exarm_init";
end init;
subprogram spg_sender
properties
Source_Language => C;
Source_Name => "__po_hi_driver_exarm_send";
end spg_sender;
abstract driver
end driver;
abstract implementation driver.i
subcomponents
sender : subprogram spg_sender;
end driver.i;
end ocarina_drivers_udp_exarm;
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