Tool/software:
Hi,
I'm working with an AD7124-8 which has a "continuous read mode", where the DOUT pin is also used as a RDY pin indicating the availablity of new data to be read over SPI.
I want to do the following thing:
- Start the continuous read mode over SPI
- Attach an interrupt to the CIPO pin
- This should call a function to read the data over SPI and in the end re-arm the interrupt on the CIPO pin
Is it possible to have two functions on one pin? What would be the best way to do this?
Thanks for any help in advance!