DRV_EFUSE
DRV_EFUSE API Status
API |
|---|
DRV_EFUSE API Reference
Header File
Functions
-
int32_t drv_efuse_init(void)
Init the EFUSE driver.
This API init the resoure common:
Init EFUSE driver control memory
This API should be called before any other EFUSE APIs.
- 返回值:
0 – success [BK_RET_OK]
other – fail
- 返回:
result
-
int32_t drv_efuse_deinit(void)
Deinit the EFUSE driver.
This API free all resource related to EFUSE and disable EFUSE.
- 返回值:
0 – success [BK_RET_OK]
other – fail
- 返回:
result
-
int32_t drv_efuse_write_byte(uint8_t addr, uint8_t data)
Efuse write operation.
- 参数:
addr – [in] efuse write addres
data – [in] efuse write data
- 返回值:
0 – success [BK_RET_OK]
other – fail
- 返回:
result
-
int32_t drv_efuse_read_byte(uint8_t addr, uint8_t *data)
Efuse read operation.
- 参数:
addr – [in] read address
data – [out] pointer to accept value of efuse read data
- 返回值:
0 – success [BK_RET_OK]
other – fail
- 返回:
result