??? 07/27/04 13:56 Read: times |
#74973 - RE: LPC935 - Problems with Interrupt Responding to: ???'s previous message |
Is it ok to change the interrupt enable bit
yes, in main. There should never be a reason to change enables in an interrupt, that should be taken care of by the priorities. When 'playing' with interrupt enables in interrupts, you can easily create a case of 'priority inversion' which is the bane of many projects. If two interrupts depend on values from each other, let both save the values and process the dependency in main. Erik |