Commit bdf6eec
committed
Handle BMC interrupts.
Sets up the MCP23S17 to provide a level low when any IRQ pin is low. Track the pin state in an interrupt handler (which watches both edges), then only poll the BMC for keyboard bytes when the flag is set.
Currently panics on startup because we can't read back out of the MCP23S17. Unsure why. Maybe the BMC is holding CIPO low?1 parent 9b830c9 commit bdf6eec
1 file changed
+343
-195
lines changed
0 commit comments