MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / readEfuse

Method readEfuse

tools/xsbug/esptool.js:704–707  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

702 }
703 }
704 async readEfuse(index) {
705 const EFUSE_REG_BASE = 0x6001a000;
706 return this.readRegister(EFUSE_REG_BASE + (index << 2));
707 }
708 async readRegister(address) {
709 const payload = new ArrayBuffer(4);
710 const view = new DataView(payload);

Callers 1

getInfoMethod · 0.95

Calls 1

readRegisterMethod · 0.95

Tested by

no test coverage detected