forked from peterhinch/micropython_eeprom
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flash_spi: Automatic wake/sleep to minimise idle current
Replace the existing wake/sleep functions with explicit wake/sleep wrappers around every flash operation. This will reduce performance (especially with the 100us sleep in the wake up path) but also reduce standby current. For battery operated devices where there is a lot of idle time this is expected to be good trade off! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
- Loading branch information
1 parent
bc498ac
commit 79fc418
Showing
1 changed file
with
30 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters