@@ -1,198 +1,198 | |||||
1 | <?xml version="1.0" encoding="UTF-8"?> |
|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | <!DOCTYPE QtCreatorProject> |
|
2 | <!DOCTYPE QtCreatorProject> | |
3 |
<!-- Written by QtCreator 2.8.1, 2013-11-15T |
|
3 | <!-- Written by QtCreator 2.8.1, 2013-11-15T13:43:04. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</value> | |
8 | </data> |
|
8 | </data> | |
9 | <data> |
|
9 | <data> | |
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
10 | <variable>ProjectExplorer.Project.EditorSettings</variable> | |
11 | <valuemap type="QVariantMap"> |
|
11 | <valuemap type="QVariantMap"> | |
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> | |
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> | |
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> |
|
14 | <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value> | |
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
16 | <value type="QString" key="language">Cpp</value> |
|
16 | <value type="QString" key="language">Cpp</value> | |
17 | <valuemap type="QVariantMap" key="value"> |
|
17 | <valuemap type="QVariantMap" key="value"> | |
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | </valuemap> |
|
20 | </valuemap> | |
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
22 | <value type="QString" key="language">QmlJS</value> |
|
22 | <value type="QString" key="language">QmlJS</value> | |
23 | <valuemap type="QVariantMap" key="value"> |
|
23 | <valuemap type="QVariantMap" key="value"> | |
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | </valuemap> |
|
26 | </valuemap> | |
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> |
|
31 | <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value> | |
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
33 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
36 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
37 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
38 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
40 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
42 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
43 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
44 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
45 | </valuemap> |
|
45 | </valuemap> | |
46 | </data> |
|
46 | </data> | |
47 | <data> |
|
47 | <data> | |
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
48 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
49 | <valuemap type="QVariantMap"/> |
|
49 | <valuemap type="QVariantMap"/> | |
50 | </data> |
|
50 | </data> | |
51 | <data> |
|
51 | <data> | |
52 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
52 | <variable>ProjectExplorer.Project.Target.0</variable> | |
53 | <valuemap type="QVariantMap"> |
|
53 | <valuemap type="QVariantMap"> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.3 in PATH (System)</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.3 in PATH (System)</value> | |
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.3 in PATH (System)</value> |
|
55 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.3 in PATH (System)</value> | |
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{be73cf6a-f9d8-4d5a-8adf-adc2d83e2e44}</value> |
|
56 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{be73cf6a-f9d8-4d5a-8adf-adc2d83e2e44}</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
58 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
59 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
63 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
65 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
66 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
67 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value> | |
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
69 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
70 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
71 | </valuemap> |
|
71 | </valuemap> | |
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
72 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
73 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
74 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
75 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
76 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
77 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
78 | <value type="QString">-w</value> |
|
78 | <value type="QString">-w</value> | |
79 | <value type="QString">-r</value> |
|
79 | <value type="QString">-r</value> | |
80 | </valuelist> |
|
80 | </valuelist> | |
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
81 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
82 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
83 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
84 | </valuemap> |
|
84 | </valuemap> | |
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
85 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
88 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
89 | </valuemap> |
|
89 | </valuemap> | |
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
90 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
91 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> |
|
92 | <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> |
|
96 | <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"> | |
97 | <value type="QString">-w</value> |
|
97 | <value type="QString">-w</value> | |
98 | <value type="QString">-r</value> |
|
98 | <value type="QString">-r</value> | |
99 | </valuelist> |
|
99 | </valuelist> | |
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
100 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
101 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
102 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
103 | </valuemap> |
|
103 | </valuemap> | |
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
104 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
105 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
106 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
107 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
108 | </valuemap> |
|
108 | </valuemap> | |
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
109 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
110 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
111 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
115 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/DEV_PLE/FSW-qt</value> |
|
116 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/DEV_PLE/FSW-qt</value> | |
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
117 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
118 | </valuemap> |
|
118 | </valuemap> | |
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> |
|
119 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
121 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
122 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
124 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
125 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
126 | </valuemap> |
|
126 | </valuemap> | |
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
127 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value> |
|
128 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
131 | </valuemap> |
|
131 | </valuemap> | |
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
132 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
135 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
136 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
137 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
138 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
139 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
140 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
141 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
142 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
143 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
144 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
145 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
148 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
149 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
150 | <value type="int">0</value> |
|
150 | <value type="int">0</value> | |
151 | <value type="int">1</value> |
|
151 | <value type="int">1</value> | |
152 | <value type="int">2</value> |
|
152 | <value type="int">2</value> | |
153 | <value type="int">3</value> |
|
153 | <value type="int">3</value> | |
154 | <value type="int">4</value> |
|
154 | <value type="int">4</value> | |
155 | <value type="int">5</value> |
|
155 | <value type="int">5</value> | |
156 | <value type="int">6</value> |
|
156 | <value type="int">6</value> | |
157 | <value type="int">7</value> |
|
157 | <value type="int">7</value> | |
158 | <value type="int">8</value> |
|
158 | <value type="int">8</value> | |
159 | <value type="int">9</value> |
|
159 | <value type="int">9</value> | |
160 | <value type="int">10</value> |
|
160 | <value type="int">10</value> | |
161 | <value type="int">11</value> |
|
161 | <value type="int">11</value> | |
162 | <value type="int">12</value> |
|
162 | <value type="int">12</value> | |
163 | <value type="int">13</value> |
|
163 | <value type="int">13</value> | |
164 | <value type="int">14</value> |
|
164 | <value type="int">14</value> | |
165 | </valuelist> |
|
165 | </valuelist> | |
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> |
|
166 | <value type="int" key="PE.EnvironmentAspect.Base">2</value> | |
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> |
|
167 | <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/> | |
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">fsw-qt</value> |
|
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">fsw-qt</value> | |
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
170 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/admin/opt/DEV_PLE/FSW-qt/fsw-qt.pro</value> |
|
170 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/admin/opt/DEV_PLE/FSW-qt/fsw-qt.pro</value> | |
171 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
171 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
172 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">fsw-qt.pro</value> |
|
172 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">fsw-qt.pro</value> | |
173 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
173 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
174 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">true</value> |
|
174 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">true</value> | |
175 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
175 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
176 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
176 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
177 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
177 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
178 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> |
|
178 | <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value> | |
179 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> |
|
179 | <value type="bool" key="RunConfiguration.UseMultiProcess">false</value> | |
180 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
180 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
181 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> |
|
181 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |
182 | </valuemap> |
|
182 | </valuemap> | |
183 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
183 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
184 | </valuemap> |
|
184 | </valuemap> | |
185 | </data> |
|
185 | </data> | |
186 | <data> |
|
186 | <data> | |
187 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
187 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
188 | <value type="int">1</value> |
|
188 | <value type="int">1</value> | |
189 | </data> |
|
189 | </data> | |
190 | <data> |
|
190 | <data> | |
191 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
191 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
192 | <value type="QByteArray">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> |
|
192 | <value type="QByteArray">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> | |
193 | </data> |
|
193 | </data> | |
194 | <data> |
|
194 | <data> | |
195 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
195 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
196 | <value type="int">14</value> |
|
196 | <value type="int">14</value> | |
197 | </data> |
|
197 | </data> | |
198 | </qtcreator> |
|
198 | </qtcreator> |
@@ -1,449 +1,455 | |||||
1 | /** Functions to load and dump parameters in the LFR registers. |
|
1 | /** Functions to load and dump parameters in the LFR registers. | |
2 | * |
|
2 | * | |
3 | * @file |
|
3 | * @file | |
4 | * @author P. LEROY |
|
4 | * @author P. LEROY | |
5 | * |
|
5 | * | |
6 | * A group of functions to handle TC related to parameter loading and dumping.\n |
|
6 | * A group of functions to handle TC related to parameter loading and dumping.\n | |
7 | * TC_LFR_LOAD_COMMON_PAR\n |
|
7 | * TC_LFR_LOAD_COMMON_PAR\n | |
8 | * TC_LFR_LOAD_NORMAL_PAR\n |
|
8 | * TC_LFR_LOAD_NORMAL_PAR\n | |
9 | * TC_LFR_LOAD_BURST_PAR\n |
|
9 | * TC_LFR_LOAD_BURST_PAR\n | |
10 | * TC_LFR_LOAD_SBM1_PAR\n |
|
10 | * TC_LFR_LOAD_SBM1_PAR\n | |
11 | * TC_LFR_LOAD_SBM2_PAR\n |
|
11 | * TC_LFR_LOAD_SBM2_PAR\n | |
12 | * |
|
12 | * | |
13 | */ |
|
13 | */ | |
14 |
|
14 | |||
15 | #include "tc_load_dump_parameters.h" |
|
15 | #include "tc_load_dump_parameters.h" | |
16 |
|
16 | |||
17 | int action_load_common_par(ccsdsTelecommandPacket_t *TC) |
|
17 | int action_load_common_par(ccsdsTelecommandPacket_t *TC) | |
18 | { |
|
18 | { | |
19 | /** This function updates the LFR registers with the incoming common parameters. |
|
19 | /** This function updates the LFR registers with the incoming common parameters. | |
20 | * |
|
20 | * | |
21 | * @param TC points to the TeleCommand packet that is being processed |
|
21 | * @param TC points to the TeleCommand packet that is being processed | |
22 | * |
|
22 | * | |
23 | * |
|
23 | * | |
24 | */ |
|
24 | */ | |
25 |
|
25 | |||
26 | parameter_dump_packet.unused0 = TC->dataAndCRC[0]; |
|
26 | parameter_dump_packet.unused0 = TC->dataAndCRC[0]; | |
27 | parameter_dump_packet.bw_sp0_sp1_r0_r1 = TC->dataAndCRC[1]; |
|
27 | parameter_dump_packet.bw_sp0_sp1_r0_r1 = TC->dataAndCRC[1]; | |
28 | set_wfp_data_shaping(parameter_dump_packet.bw_sp0_sp1_r0_r1); |
|
28 | set_wfp_data_shaping(parameter_dump_packet.bw_sp0_sp1_r0_r1); | |
29 | return LFR_SUCCESSFUL; |
|
29 | return LFR_SUCCESSFUL; | |
30 | } |
|
30 | } | |
31 |
|
31 | |||
32 | int action_load_normal_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) |
|
32 | int action_load_normal_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) | |
33 | { |
|
33 | { | |
34 | /** This function updates the LFR registers with the incoming normal parameters. |
|
34 | /** This function updates the LFR registers with the incoming normal parameters. | |
35 | * |
|
35 | * | |
36 | * @param TC points to the TeleCommand packet that is being processed |
|
36 | * @param TC points to the TeleCommand packet that is being processed | |
37 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
37 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
38 | * |
|
38 | * | |
39 | */ |
|
39 | */ | |
40 |
|
40 | |||
41 | int result; |
|
41 | int result; | |
42 | int flag; |
|
42 | int flag; | |
|
43 | rtems_status_code status; | |||
43 |
|
44 | |||
44 | flag = LFR_SUCCESSFUL; |
|
45 | flag = LFR_SUCCESSFUL; | |
45 |
|
46 | |||
46 | if ( (lfrCurrentMode == LFR_MODE_NORMAL) || |
|
47 | if ( (lfrCurrentMode == LFR_MODE_NORMAL) || | |
47 | (lfrCurrentMode == LFR_MODE_SBM1) || (lfrCurrentMode == LFR_MODE_SBM2) ) { |
|
48 | (lfrCurrentMode == LFR_MODE_SBM1) || (lfrCurrentMode == LFR_MODE_SBM2) ) { | |
48 | send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); |
|
49 | status = send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); | |
49 | flag = LFR_DEFAULT; |
|
50 | flag = LFR_DEFAULT; | |
50 | } |
|
51 | } | |
51 |
|
52 | |||
52 | //*************** |
|
53 | //*************** | |
53 | // sy_lfr_n_swf_l |
|
54 | // sy_lfr_n_swf_l | |
54 | if (flag == LFR_SUCCESSFUL) |
|
55 | if (flag == LFR_SUCCESSFUL) | |
55 | { |
|
56 | { | |
56 | result = set_sy_lfr_n_swf_l( TC, queue_id, time ); |
|
57 | result = set_sy_lfr_n_swf_l( TC, queue_id, time ); | |
57 | if (result != LFR_SUCCESSFUL) |
|
58 | if (result != LFR_SUCCESSFUL) | |
58 | { |
|
59 | { | |
59 | flag = LFR_DEFAULT; |
|
60 | flag = LFR_DEFAULT; | |
60 | } |
|
61 | } | |
61 | } |
|
62 | } | |
62 |
|
63 | |||
63 | //*************** |
|
64 | //*************** | |
64 | // sy_lfr_n_swf_p |
|
65 | // sy_lfr_n_swf_p | |
65 | if (flag == LFR_SUCCESSFUL) |
|
66 | if (flag == LFR_SUCCESSFUL) | |
66 | { |
|
67 | { | |
67 | result = set_sy_lfr_n_swf_p( TC, queue_id, time ); |
|
68 | result = set_sy_lfr_n_swf_p( TC, queue_id, time ); | |
68 | if (result != LFR_SUCCESSFUL) |
|
69 | if (result != LFR_SUCCESSFUL) | |
69 | { |
|
70 | { | |
70 | flag = LFR_DEFAULT; |
|
71 | flag = LFR_DEFAULT; | |
71 | } |
|
72 | } | |
72 | } |
|
73 | } | |
73 |
|
74 | |||
74 | //*************** |
|
75 | //*************** | |
75 | // SY_LFR_N_ASM_P |
|
76 | // SY_LFR_N_ASM_P | |
76 | if (flag == LFR_SUCCESSFUL) |
|
77 | if (flag == LFR_SUCCESSFUL) | |
77 | { |
|
78 | { | |
78 | result = set_sy_lfr_n_asm_p( TC, queue_id ); |
|
79 | result = set_sy_lfr_n_asm_p( TC, queue_id ); | |
79 | if (result != LFR_SUCCESSFUL) |
|
80 | if (result != LFR_SUCCESSFUL) | |
80 | { |
|
81 | { | |
81 | flag = LFR_DEFAULT; |
|
82 | flag = LFR_DEFAULT; | |
82 | } |
|
83 | } | |
83 | } |
|
84 | } | |
84 |
|
85 | |||
85 | //*************** |
|
86 | //*************** | |
86 | // SY_LFR_N_BP_P0 |
|
87 | // SY_LFR_N_BP_P0 | |
87 | if (flag == LFR_SUCCESSFUL) |
|
88 | if (flag == LFR_SUCCESSFUL) | |
88 | { |
|
89 | { | |
89 | result = set_sy_lfr_n_bp_p0( TC, queue_id ); |
|
90 | result = set_sy_lfr_n_bp_p0( TC, queue_id ); | |
90 | if (result != LFR_SUCCESSFUL) |
|
91 | if (result != LFR_SUCCESSFUL) | |
91 | { |
|
92 | { | |
92 | flag = LFR_DEFAULT; |
|
93 | flag = LFR_DEFAULT; | |
93 | } |
|
94 | } | |
94 | } |
|
95 | } | |
95 |
|
96 | |||
96 | //*************** |
|
97 | //*************** | |
97 | // sy_lfr_n_bp_p1 |
|
98 | // sy_lfr_n_bp_p1 | |
98 | if (flag == LFR_SUCCESSFUL) |
|
99 | if (flag == LFR_SUCCESSFUL) | |
99 | { |
|
100 | { | |
100 | result = set_sy_lfr_n_bp_p1( TC, queue_id ); |
|
101 | result = set_sy_lfr_n_bp_p1( TC, queue_id ); | |
101 | if (result != LFR_SUCCESSFUL) |
|
102 | if (result != LFR_SUCCESSFUL) | |
102 | { |
|
103 | { | |
103 | flag = LFR_DEFAULT; |
|
104 | flag = LFR_DEFAULT; | |
104 | } |
|
105 | } | |
105 | } |
|
106 | } | |
106 |
|
107 | |||
107 | return flag; |
|
108 | return flag; | |
108 | } |
|
109 | } | |
109 |
|
110 | |||
110 | int action_load_burst_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) |
|
111 | int action_load_burst_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) | |
111 | { |
|
112 | { | |
112 | /** This function updates the LFR registers with the incoming burst parameters. |
|
113 | /** This function updates the LFR registers with the incoming burst parameters. | |
113 | * |
|
114 | * | |
114 | * @param TC points to the TeleCommand packet that is being processed |
|
115 | * @param TC points to the TeleCommand packet that is being processed | |
115 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
116 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
116 | * |
|
117 | * | |
117 | */ |
|
118 | */ | |
118 |
|
119 | |||
119 | int result; |
|
120 | int result; | |
120 | unsigned char lfrMode; |
|
121 | unsigned char lfrMode; | |
|
122 | rtems_status_code status; | |||
121 |
|
123 | |||
122 | result = LFR_DEFAULT; |
|
124 | result = LFR_DEFAULT; | |
123 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; |
|
125 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; | |
124 |
|
126 | |||
125 | if ( lfrMode == LFR_MODE_BURST ) { |
|
127 | if ( lfrMode == LFR_MODE_BURST ) { | |
126 | send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); |
|
128 | status = send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); | |
127 | result = LFR_DEFAULT; |
|
129 | result = LFR_DEFAULT; | |
128 | } |
|
130 | } | |
129 | else { |
|
131 | else { | |
130 | parameter_dump_packet.sy_lfr_b_bp_p0 = TC->dataAndCRC[0]; |
|
132 | parameter_dump_packet.sy_lfr_b_bp_p0 = TC->dataAndCRC[0]; | |
131 | parameter_dump_packet.sy_lfr_b_bp_p1 = TC->dataAndCRC[1]; |
|
133 | parameter_dump_packet.sy_lfr_b_bp_p1 = TC->dataAndCRC[1]; | |
132 |
|
134 | |||
133 | result = LFR_SUCCESSFUL; |
|
135 | result = LFR_SUCCESSFUL; | |
134 | } |
|
136 | } | |
135 |
|
137 | |||
136 | return result; |
|
138 | return result; | |
137 | } |
|
139 | } | |
138 |
|
140 | |||
139 | int action_load_sbm1_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) |
|
141 | int action_load_sbm1_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) | |
140 | { |
|
142 | { | |
141 | /** This function updates the LFR registers with the incoming sbm1 parameters. |
|
143 | /** This function updates the LFR registers with the incoming sbm1 parameters. | |
142 | * |
|
144 | * | |
143 | * @param TC points to the TeleCommand packet that is being processed |
|
145 | * @param TC points to the TeleCommand packet that is being processed | |
144 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
146 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
145 | * |
|
147 | * | |
146 | */ |
|
148 | */ | |
147 | int result; |
|
149 | int result; | |
148 | unsigned char lfrMode; |
|
150 | unsigned char lfrMode; | |
|
151 | rtems_status_code status; | |||
149 |
|
152 | |||
150 | result = LFR_DEFAULT; |
|
153 | result = LFR_DEFAULT; | |
151 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; |
|
154 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; | |
152 |
|
155 | |||
153 | if ( (lfrMode == LFR_MODE_SBM1) || (lfrMode == LFR_MODE_SBM2) ) { |
|
156 | if ( (lfrMode == LFR_MODE_SBM1) || (lfrMode == LFR_MODE_SBM2) ) { | |
154 | send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); |
|
157 | status = send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); | |
155 | result = LFR_DEFAULT; |
|
158 | result = LFR_DEFAULT; | |
156 | } |
|
159 | } | |
157 | else { |
|
160 | else { | |
158 | parameter_dump_packet.sy_lfr_s1_bp_p0 = TC->dataAndCRC[0]; |
|
161 | parameter_dump_packet.sy_lfr_s1_bp_p0 = TC->dataAndCRC[0]; | |
159 | parameter_dump_packet.sy_lfr_s1_bp_p1 = TC->dataAndCRC[1]; |
|
162 | parameter_dump_packet.sy_lfr_s1_bp_p1 = TC->dataAndCRC[1]; | |
160 |
|
163 | |||
161 | result = LFR_SUCCESSFUL; |
|
164 | result = LFR_SUCCESSFUL; | |
162 | } |
|
165 | } | |
163 |
|
166 | |||
164 | return result; |
|
167 | return result; | |
165 | } |
|
168 | } | |
166 |
|
169 | |||
167 | int action_load_sbm2_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) |
|
170 | int action_load_sbm2_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time) | |
168 | { |
|
171 | { | |
169 | /** This function updates the LFR registers with the incoming sbm2 parameters. |
|
172 | /** This function updates the LFR registers with the incoming sbm2 parameters. | |
170 | * |
|
173 | * | |
171 | * @param TC points to the TeleCommand packet that is being processed |
|
174 | * @param TC points to the TeleCommand packet that is being processed | |
172 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
175 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
173 | * |
|
176 | * | |
174 | */ |
|
177 | */ | |
175 |
|
178 | |||
176 | int result; |
|
179 | int result; | |
177 | unsigned char lfrMode; |
|
180 | unsigned char lfrMode; | |
|
181 | rtems_status_code status; | |||
178 |
|
182 | |||
179 | result = LFR_DEFAULT; |
|
183 | result = LFR_DEFAULT; | |
180 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; |
|
184 | lfrMode = (housekeeping_packet.lfr_status_word[0] & 0xf0) >> 4; | |
181 |
|
185 | |||
182 | if ( (lfrMode == LFR_MODE_SBM2) || (lfrMode == LFR_MODE_SBM2) ) { |
|
186 | if ( (lfrMode == LFR_MODE_SBM2) || (lfrMode == LFR_MODE_SBM2) ) { | |
183 | send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); |
|
187 | status = send_tm_lfr_tc_exe_not_executable( TC, queue_id, time ); | |
184 | result = LFR_DEFAULT; |
|
188 | result = LFR_DEFAULT; | |
185 | } |
|
189 | } | |
186 | else { |
|
190 | else { | |
187 | parameter_dump_packet.sy_lfr_s2_bp_p0 = TC->dataAndCRC[0]; |
|
191 | parameter_dump_packet.sy_lfr_s2_bp_p0 = TC->dataAndCRC[0]; | |
188 | parameter_dump_packet.sy_lfr_s2_bp_p1 = TC->dataAndCRC[1]; |
|
192 | parameter_dump_packet.sy_lfr_s2_bp_p1 = TC->dataAndCRC[1]; | |
189 |
|
193 | |||
190 | result = LFR_SUCCESSFUL; |
|
194 | result = LFR_SUCCESSFUL; | |
191 | } |
|
195 | } | |
192 |
|
196 | |||
193 | return result; |
|
197 | return result; | |
194 | } |
|
198 | } | |
195 |
|
199 | |||
196 | int action_dump_par( rtems_id queue_id ) |
|
200 | int action_dump_par( rtems_id queue_id ) | |
197 | { |
|
201 | { | |
198 | /** This function dumps the LFR parameters by sending the appropriate TM packet to the dedicated RTEMS message queue. |
|
202 | /** This function dumps the LFR parameters by sending the appropriate TM packet to the dedicated RTEMS message queue. | |
199 | * |
|
203 | * | |
200 | * @param queue_id is the id of the queue which handles TM related to this execution step. |
|
204 | * @param queue_id is the id of the queue which handles TM related to this execution step. | |
201 | * |
|
205 | * | |
202 | * @return RTEMS directive status codes: |
|
206 | * @return RTEMS directive status codes: | |
203 | * - RTEMS_SUCCESSFUL - message sent successfully |
|
207 | * - RTEMS_SUCCESSFUL - message sent successfully | |
204 | * - RTEMS_INVALID_ID - invalid queue id |
|
208 | * - RTEMS_INVALID_ID - invalid queue id | |
205 | * - RTEMS_INVALID_SIZE - invalid message size |
|
209 | * - RTEMS_INVALID_SIZE - invalid message size | |
206 | * - RTEMS_INVALID_ADDRESS - buffer is NULL |
|
210 | * - RTEMS_INVALID_ADDRESS - buffer is NULL | |
207 | * - RTEMS_UNSATISFIED - out of message buffers |
|
211 | * - RTEMS_UNSATISFIED - out of message buffers | |
208 | * - RTEMS_TOO_MANY - queue s limit has been reached |
|
212 | * - RTEMS_TOO_MANY - queue s limit has been reached | |
209 | * |
|
213 | * | |
210 | */ |
|
214 | */ | |
211 |
|
215 | |||
212 | int status; |
|
216 | int status; | |
213 |
|
217 | |||
214 | // UPDATE TIME |
|
218 | // UPDATE TIME | |
215 | increment_seq_counter( parameter_dump_packet.packetSequenceControl ); |
|
219 | increment_seq_counter( parameter_dump_packet.packetSequenceControl ); | |
216 | parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24); |
|
220 | parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24); | |
217 | parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16); |
|
221 | parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16); | |
218 | parameter_dump_packet.time[2] = (unsigned char) (time_management_regs->coarse_time>>8); |
|
222 | parameter_dump_packet.time[2] = (unsigned char) (time_management_regs->coarse_time>>8); | |
219 | parameter_dump_packet.time[3] = (unsigned char) (time_management_regs->coarse_time); |
|
223 | parameter_dump_packet.time[3] = (unsigned char) (time_management_regs->coarse_time); | |
220 | parameter_dump_packet.time[4] = (unsigned char) (time_management_regs->fine_time>>8); |
|
224 | parameter_dump_packet.time[4] = (unsigned char) (time_management_regs->fine_time>>8); | |
221 | parameter_dump_packet.time[5] = (unsigned char) (time_management_regs->fine_time); |
|
225 | parameter_dump_packet.time[5] = (unsigned char) (time_management_regs->fine_time); | |
222 | // SEND DATA |
|
226 | // SEND DATA | |
223 | status = rtems_message_queue_send( queue_id, ¶meter_dump_packet, |
|
227 | status = rtems_message_queue_send( queue_id, ¶meter_dump_packet, | |
224 | PACKET_LENGTH_PARAMETER_DUMP + CCSDS_TC_TM_PACKET_OFFSET + CCSDS_PROTOCOLE_EXTRA_BYTES); |
|
228 | PACKET_LENGTH_PARAMETER_DUMP + CCSDS_TC_TM_PACKET_OFFSET + CCSDS_PROTOCOLE_EXTRA_BYTES); | |
225 | if (status != RTEMS_SUCCESSFUL) { |
|
229 | if (status != RTEMS_SUCCESSFUL) { | |
226 | PRINTF1("in action_dump *** ERR sending packet, code %d", status) |
|
230 | PRINTF1("in action_dump *** ERR sending packet, code %d", status) | |
227 | } |
|
231 | } | |
228 |
|
232 | |||
229 | return status; |
|
233 | return status; | |
230 | } |
|
234 | } | |
231 |
|
235 | |||
232 | //*********************** |
|
236 | //*********************** | |
233 | // NORMAL MODE PARAMETERS |
|
237 | // NORMAL MODE PARAMETERS | |
234 |
|
238 | |||
235 | int set_sy_lfr_n_swf_l( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time ) |
|
239 | int set_sy_lfr_n_swf_l( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time ) | |
236 | { |
|
240 | { | |
237 | /** This function sets the number of points of a snapshot (sy_lfr_n_swf_l). |
|
241 | /** This function sets the number of points of a snapshot (sy_lfr_n_swf_l). | |
238 | * |
|
242 | * | |
239 | * @param TC points to the TeleCommand packet that is being processed |
|
243 | * @param TC points to the TeleCommand packet that is being processed | |
240 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
244 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
241 | * |
|
245 | * | |
242 | */ |
|
246 | */ | |
243 |
|
247 | |||
244 | unsigned int tmp; |
|
248 | unsigned int tmp; | |
245 | int result; |
|
249 | int result; | |
246 | unsigned char msb; |
|
250 | unsigned char msb; | |
247 | unsigned char lsb; |
|
251 | unsigned char lsb; | |
|
252 | rtems_status_code status; | |||
248 |
|
253 | |||
249 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_L ]; |
|
254 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_L ]; | |
250 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_L+1 ]; |
|
255 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_L+1 ]; | |
251 |
|
256 | |||
252 | tmp = ( unsigned int ) floor( |
|
257 | tmp = ( unsigned int ) floor( | |
253 | ( ( msb*256 ) + lsb ) / 16 |
|
258 | ( ( msb*256 ) + lsb ) / 16 | |
254 | ) * 16; |
|
259 | ) * 16; | |
255 |
|
260 | |||
256 | if ( (tmp < 16) || (tmp > 2048) ) // the snapshot period is a multiple of 16 |
|
261 | if ( (tmp < 16) || (tmp > 2048) ) // the snapshot period is a multiple of 16 | |
257 | { // 2048 is the maximum limit due to the size of the buffers |
|
262 | { // 2048 is the maximum limit due to the size of the buffers | |
258 | send_tm_lfr_tc_exe_inconsistent( TC, queue_id, BYTE_POS_SY_LFR_N_SWF_L+10, lsb, time ); |
|
263 | status = send_tm_lfr_tc_exe_inconsistent( TC, queue_id, BYTE_POS_SY_LFR_N_SWF_L+10, lsb, time ); | |
259 | result = WRONG_APP_DATA; |
|
264 | result = WRONG_APP_DATA; | |
260 | } |
|
265 | } | |
261 | else if (tmp != 2048) |
|
266 | else if (tmp != 2048) | |
262 | { |
|
267 | { | |
263 | send_tm_lfr_tc_exe_not_implemented( TC, queue_id, time ); |
|
268 | status = send_tm_lfr_tc_exe_not_implemented( TC, queue_id, time ); | |
264 | result = FUNCT_NOT_IMPL; |
|
269 | result = FUNCT_NOT_IMPL; | |
265 | } |
|
270 | } | |
266 | else |
|
271 | else | |
267 | { |
|
272 | { | |
268 | parameter_dump_packet.sy_lfr_n_swf_l[0] = (unsigned char) (tmp >> 8); |
|
273 | parameter_dump_packet.sy_lfr_n_swf_l[0] = (unsigned char) (tmp >> 8); | |
269 | parameter_dump_packet.sy_lfr_n_swf_l[1] = (unsigned char) (tmp ); |
|
274 | parameter_dump_packet.sy_lfr_n_swf_l[1] = (unsigned char) (tmp ); | |
270 | result = LFR_SUCCESSFUL; |
|
275 | result = LFR_SUCCESSFUL; | |
271 | } |
|
276 | } | |
272 |
|
277 | |||
273 | return result; |
|
278 | return result; | |
274 | } |
|
279 | } | |
275 |
|
280 | |||
276 | int set_sy_lfr_n_swf_p(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time) |
|
281 | int set_sy_lfr_n_swf_p(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time) | |
277 | { |
|
282 | { | |
278 | /** This function sets the time between two snapshots, in s (sy_lfr_n_swf_p). |
|
283 | /** This function sets the time between two snapshots, in s (sy_lfr_n_swf_p). | |
279 | * |
|
284 | * | |
280 | * @param TC points to the TeleCommand packet that is being processed |
|
285 | * @param TC points to the TeleCommand packet that is being processed | |
281 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
286 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
282 | * |
|
287 | * | |
283 | */ |
|
288 | */ | |
284 |
|
289 | |||
285 | unsigned int tmp; |
|
290 | unsigned int tmp; | |
286 | int result; |
|
291 | int result; | |
287 | unsigned char msb; |
|
292 | unsigned char msb; | |
288 | unsigned char lsb; |
|
293 | unsigned char lsb; | |
|
294 | rtems_status_code status; | |||
289 |
|
295 | |||
290 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_P ]; |
|
296 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_P ]; | |
291 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_P+1 ]; |
|
297 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_SWF_P+1 ]; | |
292 |
|
298 | |||
293 | tmp = ( unsigned int ) floor( |
|
299 | tmp = ( unsigned int ) floor( | |
294 | ( ( msb*256 ) + lsb ) / 8 |
|
300 | ( ( msb*256 ) + lsb ) / 8 | |
295 | ) * 8; |
|
301 | ) * 8; | |
296 |
|
302 | |||
297 | if ( (tmp < 16) || (tmp > 65528) ) |
|
303 | if ( (tmp < 16) || (tmp > 65528) ) | |
298 | { |
|
304 | { | |
299 | send_tm_lfr_tc_exe_inconsistent( TC, queue_id, BYTE_POS_SY_LFR_N_SWF_P+10, lsb, time ); |
|
305 | status = send_tm_lfr_tc_exe_inconsistent( TC, queue_id, BYTE_POS_SY_LFR_N_SWF_P+10, lsb, time ); | |
300 | result = WRONG_APP_DATA; |
|
306 | result = WRONG_APP_DATA; | |
301 | } |
|
307 | } | |
302 | else |
|
308 | else | |
303 | { |
|
309 | { | |
304 | parameter_dump_packet.sy_lfr_n_swf_p[0] = (unsigned char) (tmp >> 8); |
|
310 | parameter_dump_packet.sy_lfr_n_swf_p[0] = (unsigned char) (tmp >> 8); | |
305 | parameter_dump_packet.sy_lfr_n_swf_p[1] = (unsigned char) (tmp ); |
|
311 | parameter_dump_packet.sy_lfr_n_swf_p[1] = (unsigned char) (tmp ); | |
306 | result = LFR_SUCCESSFUL; |
|
312 | result = LFR_SUCCESSFUL; | |
307 | } |
|
313 | } | |
308 |
|
314 | |||
309 | return result; |
|
315 | return result; | |
310 | } |
|
316 | } | |
311 |
|
317 | |||
312 | int set_sy_lfr_n_asm_p( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ) |
|
318 | int set_sy_lfr_n_asm_p( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ) | |
313 | { |
|
319 | { | |
314 | /** This function sets the time between two full spectral matrices transmission, in s (SY_LFR_N_ASM_P). |
|
320 | /** This function sets the time between two full spectral matrices transmission, in s (SY_LFR_N_ASM_P). | |
315 | * |
|
321 | * | |
316 | * @param TC points to the TeleCommand packet that is being processed |
|
322 | * @param TC points to the TeleCommand packet that is being processed | |
317 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
323 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
318 | * |
|
324 | * | |
319 | */ |
|
325 | */ | |
320 |
|
326 | |||
321 | int result; |
|
327 | int result; | |
322 | unsigned char msb; |
|
328 | unsigned char msb; | |
323 | unsigned char lsb; |
|
329 | unsigned char lsb; | |
324 |
|
330 | |||
325 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_ASM_P ]; |
|
331 | msb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_ASM_P ]; | |
326 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_ASM_P+1 ]; |
|
332 | lsb = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_ASM_P+1 ]; | |
327 |
|
333 | |||
328 | parameter_dump_packet.sy_lfr_n_asm_p[0] = msb; |
|
334 | parameter_dump_packet.sy_lfr_n_asm_p[0] = msb; | |
329 | parameter_dump_packet.sy_lfr_n_asm_p[1] = lsb; |
|
335 | parameter_dump_packet.sy_lfr_n_asm_p[1] = lsb; | |
330 | result = LFR_SUCCESSFUL; |
|
336 | result = LFR_SUCCESSFUL; | |
331 |
|
337 | |||
332 | return result; |
|
338 | return result; | |
333 | } |
|
339 | } | |
334 |
|
340 | |||
335 | int set_sy_lfr_n_bp_p0( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ) |
|
341 | int set_sy_lfr_n_bp_p0( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ) | |
336 | { |
|
342 | { | |
337 | /** This function sets the time between two basic parameter sets, in s (SY_LFR_N_BP_P0). |
|
343 | /** This function sets the time between two basic parameter sets, in s (SY_LFR_N_BP_P0). | |
338 | * |
|
344 | * | |
339 | * @param TC points to the TeleCommand packet that is being processed |
|
345 | * @param TC points to the TeleCommand packet that is being processed | |
340 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
346 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
341 | * |
|
347 | * | |
342 | */ |
|
348 | */ | |
343 |
|
349 | |||
344 | int status; |
|
350 | int status; | |
345 |
|
351 | |||
346 | status = LFR_SUCCESSFUL; |
|
352 | status = LFR_SUCCESSFUL; | |
347 |
|
353 | |||
348 | parameter_dump_packet.sy_lfr_n_bp_p0 = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_BP_P0 ]; |
|
354 | parameter_dump_packet.sy_lfr_n_bp_p0 = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_BP_P0 ]; | |
349 |
|
355 | |||
350 | return status; |
|
356 | return status; | |
351 | } |
|
357 | } | |
352 |
|
358 | |||
353 | int set_sy_lfr_n_bp_p1(ccsdsTelecommandPacket_t *TC, rtems_id queue_id) |
|
359 | int set_sy_lfr_n_bp_p1(ccsdsTelecommandPacket_t *TC, rtems_id queue_id) | |
354 | { |
|
360 | { | |
355 | /** This function sets the time between two basic parameter sets (autocorrelation + crosscorrelation), in s (sy_lfr_n_bp_p1). |
|
361 | /** This function sets the time between two basic parameter sets (autocorrelation + crosscorrelation), in s (sy_lfr_n_bp_p1). | |
356 | * |
|
362 | * | |
357 | * @param TC points to the TeleCommand packet that is being processed |
|
363 | * @param TC points to the TeleCommand packet that is being processed | |
358 | * @param queue_id is the id of the queue which handles TM related to this execution step |
|
364 | * @param queue_id is the id of the queue which handles TM related to this execution step | |
359 | * |
|
365 | * | |
360 | */ |
|
366 | */ | |
361 |
|
367 | |||
362 | int status; |
|
368 | int status; | |
363 |
|
369 | |||
364 | status = LFR_SUCCESSFUL; |
|
370 | status = LFR_SUCCESSFUL; | |
365 |
|
371 | |||
366 | parameter_dump_packet.sy_lfr_n_bp_p1 = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_BP_P1 ]; |
|
372 | parameter_dump_packet.sy_lfr_n_bp_p1 = TC->dataAndCRC[ BYTE_POS_SY_LFR_N_BP_P1 ]; | |
367 |
|
373 | |||
368 | return status; |
|
374 | return status; | |
369 | } |
|
375 | } | |
370 |
|
376 | |||
371 | //********************** |
|
377 | //********************** | |
372 | // BURST MODE PARAMETERS |
|
378 | // BURST MODE PARAMETERS | |
373 |
|
379 | |||
374 | //********************* |
|
380 | //********************* | |
375 | // SBM1 MODE PARAMETERS |
|
381 | // SBM1 MODE PARAMETERS | |
376 |
|
382 | |||
377 | //********************* |
|
383 | //********************* | |
378 | // SBM2 MODE PARAMETERS |
|
384 | // SBM2 MODE PARAMETERS | |
379 |
|
385 | |||
380 | //********** |
|
386 | //********** | |
381 | // init dump |
|
387 | // init dump | |
382 |
|
388 | |||
383 | void init_parameter_dump( void ) |
|
389 | void init_parameter_dump( void ) | |
384 | { |
|
390 | { | |
385 | /** This function initialize the parameter_dump_packet global variable with default values. |
|
391 | /** This function initialize the parameter_dump_packet global variable with default values. | |
386 | * |
|
392 | * | |
387 | */ |
|
393 | */ | |
388 |
|
394 | |||
389 | parameter_dump_packet.targetLogicalAddress = CCSDS_DESTINATION_ID; |
|
395 | parameter_dump_packet.targetLogicalAddress = CCSDS_DESTINATION_ID; | |
390 | parameter_dump_packet.protocolIdentifier = CCSDS_PROTOCOLE_ID; |
|
396 | parameter_dump_packet.protocolIdentifier = CCSDS_PROTOCOLE_ID; | |
391 | parameter_dump_packet.reserved = CCSDS_RESERVED; |
|
397 | parameter_dump_packet.reserved = CCSDS_RESERVED; | |
392 | parameter_dump_packet.userApplication = CCSDS_USER_APP; |
|
398 | parameter_dump_packet.userApplication = CCSDS_USER_APP; | |
393 | parameter_dump_packet.packetID[0] = (unsigned char) (TM_PACKET_ID_PARAMETER_DUMP >> 8); |
|
399 | parameter_dump_packet.packetID[0] = (unsigned char) (TM_PACKET_ID_PARAMETER_DUMP >> 8); | |
394 | parameter_dump_packet.packetID[1] = (unsigned char) TM_PACKET_ID_PARAMETER_DUMP; |
|
400 | parameter_dump_packet.packetID[1] = (unsigned char) TM_PACKET_ID_PARAMETER_DUMP; | |
395 | parameter_dump_packet.packetSequenceControl[0] = TM_PACKET_SEQ_CTRL_STANDALONE; |
|
401 | parameter_dump_packet.packetSequenceControl[0] = TM_PACKET_SEQ_CTRL_STANDALONE; | |
396 | parameter_dump_packet.packetSequenceControl[1] = TM_PACKET_SEQ_CNT_DEFAULT; |
|
402 | parameter_dump_packet.packetSequenceControl[1] = TM_PACKET_SEQ_CNT_DEFAULT; | |
397 | parameter_dump_packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_PARAMETER_DUMP >> 8); |
|
403 | parameter_dump_packet.packetLength[0] = (unsigned char) (PACKET_LENGTH_PARAMETER_DUMP >> 8); | |
398 | parameter_dump_packet.packetLength[1] = (unsigned char) PACKET_LENGTH_PARAMETER_DUMP; |
|
404 | parameter_dump_packet.packetLength[1] = (unsigned char) PACKET_LENGTH_PARAMETER_DUMP; | |
399 | // DATA FIELD HEADER |
|
405 | // DATA FIELD HEADER | |
400 | parameter_dump_packet.spare1_pusVersion_spare2 = SPARE1_PUSVERSION_SPARE2; |
|
406 | parameter_dump_packet.spare1_pusVersion_spare2 = SPARE1_PUSVERSION_SPARE2; | |
401 | parameter_dump_packet.serviceType = TM_TYPE_PARAMETER_DUMP; |
|
407 | parameter_dump_packet.serviceType = TM_TYPE_PARAMETER_DUMP; | |
402 | parameter_dump_packet.serviceSubType = TM_SUBTYPE_PARAMETER_DUMP; |
|
408 | parameter_dump_packet.serviceSubType = TM_SUBTYPE_PARAMETER_DUMP; | |
403 | parameter_dump_packet.destinationID = TM_DESTINATION_ID_GROUND; |
|
409 | parameter_dump_packet.destinationID = TM_DESTINATION_ID_GROUND; | |
404 | parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24); |
|
410 | parameter_dump_packet.time[0] = (unsigned char) (time_management_regs->coarse_time>>24); | |
405 | parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16); |
|
411 | parameter_dump_packet.time[1] = (unsigned char) (time_management_regs->coarse_time>>16); | |
406 | parameter_dump_packet.time[2] = (unsigned char) (time_management_regs->coarse_time>>8); |
|
412 | parameter_dump_packet.time[2] = (unsigned char) (time_management_regs->coarse_time>>8); | |
407 | parameter_dump_packet.time[3] = (unsigned char) (time_management_regs->coarse_time); |
|
413 | parameter_dump_packet.time[3] = (unsigned char) (time_management_regs->coarse_time); | |
408 | parameter_dump_packet.time[4] = (unsigned char) (time_management_regs->fine_time>>8); |
|
414 | parameter_dump_packet.time[4] = (unsigned char) (time_management_regs->fine_time>>8); | |
409 | parameter_dump_packet.time[5] = (unsigned char) (time_management_regs->fine_time); |
|
415 | parameter_dump_packet.time[5] = (unsigned char) (time_management_regs->fine_time); | |
410 | parameter_dump_packet.sid = SID_PARAMETER_DUMP; |
|
416 | parameter_dump_packet.sid = SID_PARAMETER_DUMP; | |
411 |
|
417 | |||
412 | //****************** |
|
418 | //****************** | |
413 | // COMMON PARAMETERS |
|
419 | // COMMON PARAMETERS | |
414 | parameter_dump_packet.unused0 = DEFAULT_SY_LFR_COMMON0; |
|
420 | parameter_dump_packet.unused0 = DEFAULT_SY_LFR_COMMON0; | |
415 | parameter_dump_packet.bw_sp0_sp1_r0_r1 = DEFAULT_SY_LFR_COMMON1; |
|
421 | parameter_dump_packet.bw_sp0_sp1_r0_r1 = DEFAULT_SY_LFR_COMMON1; | |
416 |
|
422 | |||
417 | //****************** |
|
423 | //****************** | |
418 | // NORMAL PARAMETERS |
|
424 | // NORMAL PARAMETERS | |
419 | parameter_dump_packet.sy_lfr_n_swf_l[0] = (unsigned char) (SY_LFR_N_SWF_L >> 8); |
|
425 | parameter_dump_packet.sy_lfr_n_swf_l[0] = (unsigned char) (SY_LFR_N_SWF_L >> 8); | |
420 | parameter_dump_packet.sy_lfr_n_swf_l[1] = (unsigned char) (SY_LFR_N_SWF_L ); |
|
426 | parameter_dump_packet.sy_lfr_n_swf_l[1] = (unsigned char) (SY_LFR_N_SWF_L ); | |
421 | parameter_dump_packet.sy_lfr_n_swf_p[0] = (unsigned char) (SY_LFR_N_SWF_P >> 8); |
|
427 | parameter_dump_packet.sy_lfr_n_swf_p[0] = (unsigned char) (SY_LFR_N_SWF_P >> 8); | |
422 | parameter_dump_packet.sy_lfr_n_swf_p[1] = (unsigned char) (SY_LFR_N_SWF_P ); |
|
428 | parameter_dump_packet.sy_lfr_n_swf_p[1] = (unsigned char) (SY_LFR_N_SWF_P ); | |
423 | parameter_dump_packet.sy_lfr_n_asm_p[0] = (unsigned char) (SY_LFR_N_ASM_P >> 8); |
|
429 | parameter_dump_packet.sy_lfr_n_asm_p[0] = (unsigned char) (SY_LFR_N_ASM_P >> 8); | |
424 | parameter_dump_packet.sy_lfr_n_asm_p[1] = (unsigned char) (SY_LFR_N_ASM_P ); |
|
430 | parameter_dump_packet.sy_lfr_n_asm_p[1] = (unsigned char) (SY_LFR_N_ASM_P ); | |
425 | parameter_dump_packet.sy_lfr_n_bp_p0 = (unsigned char) SY_LFR_N_BP_P0; |
|
431 | parameter_dump_packet.sy_lfr_n_bp_p0 = (unsigned char) SY_LFR_N_BP_P0; | |
426 | parameter_dump_packet.sy_lfr_n_bp_p1 = (unsigned char) SY_LFR_N_BP_P1; |
|
432 | parameter_dump_packet.sy_lfr_n_bp_p1 = (unsigned char) SY_LFR_N_BP_P1; | |
427 |
|
433 | |||
428 | //***************** |
|
434 | //***************** | |
429 | // BURST PARAMETERS |
|
435 | // BURST PARAMETERS | |
430 | parameter_dump_packet.sy_lfr_b_bp_p0 = (unsigned char) DEFAULT_SY_LFR_B_BP_P0; |
|
436 | parameter_dump_packet.sy_lfr_b_bp_p0 = (unsigned char) DEFAULT_SY_LFR_B_BP_P0; | |
431 | parameter_dump_packet.sy_lfr_b_bp_p1 = (unsigned char) DEFAULT_SY_LFR_B_BP_P1; |
|
437 | parameter_dump_packet.sy_lfr_b_bp_p1 = (unsigned char) DEFAULT_SY_LFR_B_BP_P1; | |
432 |
|
438 | |||
433 | //**************** |
|
439 | //**************** | |
434 | // SBM1 PARAMETERS |
|
440 | // SBM1 PARAMETERS | |
435 | parameter_dump_packet.sy_lfr_s1_bp_p0 = (unsigned char) DEFAULT_SY_LFR_S1_BP_P0; // min value is 0.25 s for the period |
|
441 | parameter_dump_packet.sy_lfr_s1_bp_p0 = (unsigned char) DEFAULT_SY_LFR_S1_BP_P0; // min value is 0.25 s for the period | |
436 | parameter_dump_packet.sy_lfr_s1_bp_p1 = (unsigned char) DEFAULT_SY_LFR_S1_BP_P1; |
|
442 | parameter_dump_packet.sy_lfr_s1_bp_p1 = (unsigned char) DEFAULT_SY_LFR_S1_BP_P1; | |
437 |
|
443 | |||
438 | //**************** |
|
444 | //**************** | |
439 | // SBM2 PARAMETERS |
|
445 | // SBM2 PARAMETERS | |
440 | parameter_dump_packet.sy_lfr_s2_bp_p0 = (unsigned char) DEFAULT_SY_LFR_S2_BP_P0; |
|
446 | parameter_dump_packet.sy_lfr_s2_bp_p0 = (unsigned char) DEFAULT_SY_LFR_S2_BP_P0; | |
441 | parameter_dump_packet.sy_lfr_s2_bp_p1 = (unsigned char) DEFAULT_SY_LFR_S2_BP_P1; |
|
447 | parameter_dump_packet.sy_lfr_s2_bp_p1 = (unsigned char) DEFAULT_SY_LFR_S2_BP_P1; | |
442 | } |
|
448 | } | |
443 |
|
449 | |||
444 |
|
450 | |||
445 |
|
451 | |||
446 |
|
452 | |||
447 |
|
453 | |||
448 |
|
454 | |||
449 |
|
455 |
General Comments 0
You need to be logged in to leave comments.
Login now