|
| 1 | +/************************************************************************ |
| 2 | + * NASA Docket No. GSC-19,200-1, and identified as "cFS Draco" |
| 3 | + * |
| 4 | + * Copyright (c) 2023 United States Government as represented by the |
| 5 | + * Administrator of the National Aeronautics and Space Administration. |
| 6 | + * All Rights Reserved. |
| 7 | + * |
| 8 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 9 | + * not use this file except in compliance with the License. You may obtain |
| 10 | + * a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + ************************************************************************/ |
| 18 | + |
| 19 | +/** |
| 20 | + * @file |
| 21 | + * Specification for the CFE Executive Services (CFE_ES) command function codes |
| 22 | + * |
| 23 | + * @note |
| 24 | + * This file should be strictly limited to the command/function code (CC) |
| 25 | + * macro definitions. Other definitions such as enums, typedefs, or other |
| 26 | + * macros should be placed in the msgdefs.h or msg.h files. |
| 27 | + */ |
| 28 | +#ifndef DEFAULT_SAMPLE_APP_FCNCODE_VALUES_H |
| 29 | +#define DEFAULT_SAMPLE_APP_FCNCODE_VALUES_H |
| 30 | + |
| 31 | +/************************************************************************ |
| 32 | + * Macro Definitions |
| 33 | + ************************************************************************/ |
| 34 | + |
| 35 | +#define SAMPLE_APP_CCVAL(x) SAMPLE_APP_FunctionCode_##x |
| 36 | + |
| 37 | +enum SAMPLE_APP_FunctionCode_ |
| 38 | +{ |
| 39 | + SAMPLE_APP_FunctionCode_NOOP = 0, |
| 40 | + SAMPLE_APP_FunctionCode_RESET_COUNTERS = 1, |
| 41 | + SAMPLE_APP_FunctionCode_PROCESS = 2, |
| 42 | + SAMPLE_APP_FunctionCode_DISPLAY_PARAM = 3, |
| 43 | +}; |
| 44 | + |
| 45 | +#endif |
0 commit comments