WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
efuse_user.h
浏览该文件的文档.
1
9#ifndef EFUSE_USER_H
10#define EFUSE_USER_H
11
12#include <stdint.h>
13#include "errcode.h"
14
15#ifdef __cplusplus
16#if __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19#endif /* __cplusplus */
20
45errcode_t uapi_efuse_user_read_buffer(uint32_t offset, uint8_t *buffer, uint16_t length);
46
65errcode_t uapi_efuse_user_write_buffer(uint32_t offset, const uint8_t *buffer, uint16_t length);
66
67#ifdef EFUSE_BIT_OPERATION
83errcode_t uapi_efuse_user_write_bit(uint32_t byte_offset, uint8_t bit_pos);
84
102errcode_t uapi_efuse_user_read_bit(uint32_t byte_offset, uint8_t bit_pos, uint8_t *value);
103#endif
104
105#ifdef __cplusplus
106#if __cplusplus
107}
108#endif /* __cplusplus */
109#endif /* __cplusplus */
110
111#endif
112
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
errcode_t uapi_efuse_user_write_bit(uint32_t byte_offset, uint8_t bit_pos)
向用户预留eFuse空间中的对应bit写1。
Definition efuse.c:296
errcode_t uapi_efuse_user_write_buffer(uint32_t offset, const uint8_t *buffer, uint16_t length)
从提供的缓冲区向用户预留的eFuse空间写入多个字节。
Definition efuse.c:287
errcode_t uapi_efuse_user_read_bit(uint32_t byte_offset, uint8_t bit_pos, uint8_t *value)
从用户预留的eFuse空间中读取一位。
Definition efuse.c:305
errcode_t uapi_efuse_user_read_buffer(uint32_t offset, uint8_t *buffer, uint16_t length)
从用户预留的eFuse空间中读取多个字节,进入提供的缓冲区。
Definition efuse.c:278