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 * 15 * Description: Provides hal efuse \n 16 * 17 * History: \n 18 * 2023-3-4, Create file. \n 19 */ 20 #ifndef HAL_EFUSE_V151_H 21 #define HAL_EFUSE_V151_H 22 23 #include "hal_efuse.h" 24 25 #ifdef __cplusplus 26 #if __cplusplus 27 extern "C" { 28 #endif /* __cplusplus */ 29 #endif /* __cplusplus */ 30 31 /** 32 * @defgroup drivers_hal_efuse Efuse 33 * @ingroup drivers_hal_efuse 34 * @{ 35 */ 36 37 /** 38 * @if Eng 39 * @brief Get functions of the efuse . 40 * @else 41 * @brief 获取 efuse的实例 42 * @endif 43 */ 44 hal_efuse_funcs_t *hal_efuse_funcs_get(void); 45 46 void hal_efuse_set_clock_period(uint32_t clock_period); 47 /** 48 * @} 49 */ 50 51 #ifdef __cplusplus 52 #if __cplusplus 53 } 54 #endif /* __cplusplus */ 55 #endif /* __cplusplus */ 56 57 #endif 58 59