qdot/keepoff — Issue #10: Turn off Wire I2C mode on keepon poweroff
Author: qdot
Created: 2011-11-14 06:19:24+00:00
State: open
Labels: Task

If the keepon is powered off, we need to kick back into bootup mode so we can pull the bus pins low. Unfortunately, there's no Wire.end() call that will call twi_close() for us, meaning that twi still has its interrupts set on next keepon powerup and we can't pull the lines to stop the bus from communicating. We need to be able to stop the interrupts and go back to "normal".