keepoff icon indicating copy to clipboard operation
keepoff copied to clipboard

Turn off Wire I2C mode on keepon poweroff

Open qdot opened this issue 14 years ago • 0 comments

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".

qdot avatar Nov 14 '11 06:11 qdot