/* * Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd * * SPDX-License-Identifier: Apache-2.0 * * Authors: Xiong Hao */ #ifndef _ARTINCHIP_HAL_EFUSE_H__ #define _ARTINCHIP_HAL_EFUSE_H__ #ifdef __cplusplus extern "C" { #endif #include int hal_efuse_init(void); int hal_efuse_deinit(void); int hal_efuse_get_version(void); int hal_efuse_wait_ready(void); int hal_efuse_read(u32 wid, u32 *wval); int hal_efuse_write(u32 wid, u32 wval); int hal_sjtag_auth(u32 *key, u32 kwlen); int hal_szone_auth(u32 *key, u32 kwlen); #ifdef __cplusplus } #endif #endif