![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <barrier.h>#include <io.h>#include <stdarg.h>#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <types.h>#include <log.h>#include <common.h>#include "sys-sid.h"
Classes | |
| struct | sid_section_t |
Enumerations | |
| enum | { SID_PRCTL = SUNXI_SID_BASE + 0x040 , SID_PRKEY = SUNXI_SID_BASE + 0x050 , SID_RDKEY = SUNXI_SID_BASE + 0x060 , SJTAG_AT0 = SUNXI_SID_BASE + 0x080 , SJTAG_AT1 = SUNXI_SID_BASE + 0x084 , SJTAG_S = SUNXI_SID_BASE + 0x088 , SID_EFUSE = SUNXI_SID_BASE + 0x200 , SID_SECURE_MODE = SUNXI_SID_BASE + 0xA0 , EFUSE_HV_SWITCH = SUNXI_RTC_BASE + 0x204 } |
Functions | |
| uint32_t | syter_efuse_read (uint32_t offset) |
| Read a value from the eFuse memory. | |
| void | syter_efuse_write (uint32_t offset, uint32_t value) |
| Write a value to the eFuse memory. | |
| void | syter_efuse_dump (void) |
| Dump the contents of the eFuse memory. | |
Variables | |
| const struct sid_section_t | sids [] |
| anonymous enum |
| void syter_efuse_dump | ( | void | ) |
Dump the contents of the eFuse memory.
This function outputs the current contents of the eFuse memory for diagnostic purposes. The format of the output is implementation-dependent.
Read a value from the eFuse memory.
This function reads a 32-bit value from the specified eFuse offset.
| offset | The offset in the eFuse memory from which to read the value. |
Write a value to the eFuse memory.
This function writes a 32-bit value to the specified eFuse offset.
| offset | The offset in the eFuse memory to which the value will be written. |
| value | The 32-bit value to be written to the eFuse memory. |
| const struct sid_section_t sids[] |