--- In [email protected], "Geert Vancompernolle" <[EMAIL PROTECTED]> wrote: > > Hi Maxime, > > I'm busy using the mechanism Calzo and you have been figuring out to > work with the interrupt of an IO expander, in stead of polling it. > > So far, the mechanism goes quite well, but from time to time I get > problems with the interrupt, due to contact bounce. > > What I did was looking into your code and I have the following question: > > In the function below, you want to clear the interrupt mask, but still > you're setting the content of the register R_IRQ_MASK1_SET to 0x01. > Should that not be the register R_IRQ_MASK1_CLR instead? > > I think only then you're clearing the interrupt. >
My mistake, forget about the above message... I've looked into the documentation and what is written by you, is correct. Sorry for the confusion... Best rgds, --Geert
