examples: Add an example efuse API usage
Added: read, write operations for the common and custom efuse tables. Writing is possible only for CONFIG_EFUSE_VIRTUAL. Closes: IDF-773
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# field_name, | efuse_block, | bit_start, | bit_count, |comment #
|
||||
# | (EFUSE_BLK0 | (0..255) | (1..-) | #
|
||||
# | EFUSE_BLK1 | |MAX_BLK_LEN*| #
|
||||
# | EFUSE_BLK2 | | | #
|
||||
# | EFUSE_BLK3) | | | #
|
||||
##########################################################################
|
||||
# *) The value MAX_BLK_LEN depends on CONFIG_EFUSE_MAX_BLK_LEN, will be replaced with "None" - 256. "3/4" - 192. "REPEAT" - 128.
|
||||
# !!!!!!!!!!! #
|
||||
# After editing this file, run the command manually "make efuse_common_table" or "idf.py efuse_common_table"
|
||||
# this will generate new source files, next rebuild all the sources.
|
||||
# !!!!!!!!!!! #
|
||||
|
||||
|
||||
MODULE_VERSION, EFUSE_BLK3, 56, 8, Module version
|
||||
DEVICE_ROLE, EFUSE_BLK3, 64, 3, Device role
|
||||
SETTING_1, EFUSE_BLK3, 67, 6, Setting 1
|
||||
SETTING_2, EFUSE_BLK3, 73, 5, Setting 2
|
||||
CUSTOM_SECURE_VERSION, EFUSE_BLK3, 78, 16, Custom secure version
|
||||
|
Can't render this file because it contains an unexpected character in line 7 and column 87.
|
Reference in New Issue
Block a user