• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description: netbuf enum type head file.
15  * Create: 2022-11-26
16  */
17 
18 #ifndef FRW_UTIL_COMMON_H
19 #define FRW_UTIL_COMMON_H
20 
21 #include "frw_util_common_rom.h"
22 
23 #ifdef __cplusplus
24 #if __cplusplus
25     extern "C" {
26 #endif
27 #endif
28 
29 /* 定义功能开关 */
30 typedef enum {
31     EXT_SWITCH_OFF = 0,
32     EXT_SWITCH_ON = 1,
33     EXT_SWITCH_PAUSE = 2,
34     EXT_SWITCH_BUTT
35 } ext_switch_enum;
36 
37 #ifdef __cplusplus
38 #if __cplusplus
39     }
40 #endif
41 #endif
42 #endif /* end of frw_util_common.h */