MCPcopy Create free account
hub / github.com/OpenEPaperLink/OpenEPaperLink / write_flash

Method write_flash

ESP32_AP-Flasher/src/zbs_interface.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void ZBS_interface::write_flash(uint16_t addr, uint8_t data) {
162 send_byte(ZBS_CMD_W_FLASH);
163 send_byte(addr >> 8);
164 send_byte(addr);
165 send_byte(data);
166 delayMicroseconds(after_byte_delay);
167}
168
169uint8_t ZBS_interface::read_flash(uint16_t addr) {
170 uint8_t data = 0x00;

Callers 4

writeFlashMethod · 0.45
writeBlock256Method · 0.45
writeInfoBlockMethod · 0.45
writeBlockMethod · 0.45

Calls 1

delayMicrosecondsFunction · 0.85

Tested by

no test coverage detected