RISCOS' IRQ handler
Pages: 1 2
Rick Murray (539) 13851 posts |
Any hope, maybe, for an IIC driver that can work without disabling interrupts “for ages”? ;-) |
Dave Higton (1515) 3534 posts |
I take it you’re talking about the Raspberry Pi here. If you can find a way to make the IIC interface issue a repeated start condition but be freely interruptable, you can have an IIC driver that doesn’t need to disable interrupts. Otherwise, your choice is either to leave it as is, or to risk not having a repeated start condition, in which case you’re outside the specification of at least some of the slave devices. The IIC implementation in the BCM2835… how can we put it… leaves something to be desired. It’s not as bad as the USB implementation; but it couldn’t be, as it’s much simpler, so there’s not as much scope for deficiencies. |
Jon Abbott (1421) 2651 posts |
Its reset in a few places although RTSupport seems to be the only one that’s resetting it outside of an error occurring. I think I can ignore it though, as I’ve just realised I’ll be better off paravirtualizing the hardware IRQ, Device Vector handler and IRQ1V on IOMD, which will give ADFFS control of the CPU state. |
Pages: 1 2