aboutsummaryrefslogtreecommitdiff
path: root/tamper.c
AgeCommit message (Collapse)Author
2016-06-10Do wipe MKM when tamper is detected, sleep when not.Linus Nordberg
Writing the MKM in "sequential mode" (a.k.a. "burst") but still busy-waiting for confirmation of SPI write operation being done. Would using an interrupt be faster? Sleeping is done in "power down mode". There are less sleepy modes which presumably consume more power but might wake up quicker. A good start would be to figure out how long time it takes to wake up from power down.
2016-05-19Explain SPI dummy write in comments.Linus Nordberg
2016-05-19Add copyright and licensing info.Linus Nordberg
2016-05-18Read from and write to MKM when panic button is pressed.Linus Nordberg