altos: SPI radio - use 1->0 for 'done' and 0->1 for 'ready'
authorKeith Packard <keithp@keithp.com>
Wed, 29 Aug 2012 18:23:13 +0000 (11:23 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 29 Aug 2012 18:23:13 +0000 (11:23 -0700)
commit3e7e8e21f2bb823cb6e74c73d0feddbc3a891107
tree8e634ffc0990f6383b397dea443a57a67042d095
parent1b6ed262460ee75fb5bb684d13d19c26c7ea750b
altos: SPI radio - use 1->0 for 'done' and 0->1 for 'ready'

This changes how the SPI radio protocol uses the interrupt
line. Instead of a pulse indicating operation done, this now uses a 0
value for done and a 1 value for ready. The key distinction is that
the master can tell when the slave is waiting for the next command
instead of hoping that it got done 'soon enough'.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_radio_master.c
src/drivers/ao_radio_slave.c