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: Header file for hal_chip.c. 15 */ 16 17 #ifndef HAL_CHIP_H 18 #define HAL_CHIP_H 19 20 /***************************************************************************** 21 1 其他头文件包含 22 *****************************************************************************/ 23 #include "hal_chip_rom.h" 24 25 #ifdef __cplusplus 26 #if __cplusplus 27 extern "C" { 28 #endif 29 #endif 30 31 /***************************************************************************** 32 宏定义 33 *****************************************************************************/ 34 #undef THIS_FILE_ID 35 #define THIS_FILE_ID OAM_FILE_ID_HAL_CHIP_H 36 37 /***************************************************************************** 38 函数声明 39 *****************************************************************************/ 40 osal_u32 hal_chip_init(osal_void); 41 osal_void hal_chip_exit(osal_void); 42 43 44 #ifdef __cplusplus 45 #if __cplusplus 46 } 47 #endif 48 #endif 49 50 #endif /* end of hal_chip.h */ 51