cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Master Read Interrupt example

jodonnell
Associate II
Posted on March 09, 2007 at 14:51

I2C Master Read Interrupt example

2 REPLIES 2
jodonnell
Associate II
Posted on March 08, 2007 at 13:42

Are there any examples of an interrupt driven I2C read (using restart)?

I actually need to do multiple read-write sequences from interrupts. I saw a previous post and the write was interrupt driven, but the reads were sequential code.

Thanks

Jon O'Donnell

NuVo Technologies

kleshov
Associate II
Posted on March 09, 2007 at 14:51

I've used interrupt-driven I2C IO to interface the ADS7823 which is an ADC. It happens to use repeated START as well. See if you find the file useful.

Regards,

- mike

________________

Attachments :

adc.c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtGU&d=%2Fa%2F0X0000000aKr%2FzvLCAwYBqbUzgjAcOMzVmuCDYRSURPSTfx.IYdlozq4&asPdf=false