rasta-spacewire.aadl 1.33 KB
Newer Older
1
2
3
4
5
package ocarina_drivers_rasta_spacewire

public

with ocarina_buses;
6
with Deployment;
7
8
9

subprogram spg_spacewire_poller_rasta
properties
10
	Source_Language => (C);
11
12
13
14
15
	Source_Name => "__po_hi_c_driver_spacewire_rasta_poller";
end spg_spacewire_poller_rasta;

subprogram spg_spacewire_sender_rasta
properties
16
	Source_Language => (C);
17
18
19
20
21
	Source_Name => "__po_hi_c_driver_spacewire_rasta_sender";
end spg_spacewire_sender_rasta;

subprogram spg_spacewire_init_rasta
properties
22
	Source_Language => (C);
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
	Source_Name => "__po_hi_c_driver_spacewire_rasta_init";
end spg_spacewire_init_rasta;


thread spacewire_poller
end spacewire_poller;

thread implementation spacewire_poller.rasta
calls
	mycall : {
	  pspg : subprogram spg_spacewire_poller_rasta;
	};
properties
   Period => 1000ms;
   Dispatch_Protocol => Periodic;
end spacewire_poller.rasta;


abstract spacewire_driver
42
43
44
properties
   Deployment::Version  => "0.1beta";
   Deployment::Help     => "Write your ASN.1 configuration here";
45
   Deployment::Configuration_Type => classifier (ocarina_drivers::configuration_type_spacewire);
46
47
48
49
end spacewire_driver;

abstract implementation spacewire_driver.rasta
subcomponents
50
   receiver_rasta_spacewire : thread spacewire_poller.rasta;
51
   sender                   : subprogram spg_spacewire_sender_rasta;
52
53
54
end spacewire_driver.rasta;

end ocarina_drivers_rasta_spacewire;