mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
issue command to exit quad mode, in quad mode
if not in quad mode, command is ignored; but without this, the command is never accepted if you are in quad mode. the idea is you use this to reset the chip when you don't know what mode it's in.
This commit is contained in:
parent
62d16bb77f
commit
a0aeaae106
1 changed files with 1 additions and 0 deletions
|
|
@ -1193,6 +1193,7 @@ impl Spim {
|
|||
if activate {
|
||||
self.mem_send_cmd(0x35);
|
||||
} else {
|
||||
self.mode = SpimMode::Quad; // pre-assumes quad mode
|
||||
self.mem_send_cmd(0xF5);
|
||||
}
|
||||
self.mem_cs(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue