From: dmitry p. <dpe...@gm...> - 2005-12-13 12:18:37
|
On Mon, 2005-12-12 at 19:01 +0100, Rui Sousa wrote: > How do you handle IRQ's generated by a SPI device (e.g ack the > interrupt, check if it was the SPI device that generated the > interrupt, ...) if you can't read/write on the SPI bus from interrupt > context? Hmm... what do you mean by "cannot read/write" ? Normally you can write/read registers in interrupt context, and then set the flag/complete the completion/what else ? In other words, could you please share the code that causes problems ? -- cheers, dmitry pervushin |