Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RetiredWizard/PyDOS
/ _write_cmd
Method
_write_cmd
mpython/extFlash/lib/spiflash.py:91–93 ·
view source on GitHub ↗
(self, val)
Source
from the content-addressed store, hash-verified
89
return
self.sectorsize
90
91
def
_write_cmd(self, val):
92
self._buf[0] = val
93
self._spi.write(self._buf)
94
95
def
_write_addr(self, cmd, addr):
96
self._addrbuf[0] = cmd
Callers
4
getid
Method · 0.95
wait
Method · 0.95
flash_write
Method · 0.95
flash_erase
Method · 0.95
Calls
1
write
Method · 0.45
Tested by
no test coverage detected