mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-17 01:28:54 +00:00
32 lines
607 B
C
32 lines
607 B
C
/*
|
|
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Authors: Xiong Hao <hao.xiong@artinchip.com>
|
|
*/
|
|
|
|
#ifndef _ARTINCHIP_HAL_EFUSE_H__
|
|
#define _ARTINCHIP_HAL_EFUSE_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <aic_core.h>
|
|
|
|
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
|