??? 03/24/04 14:16 Read: times |
#67358 - RE: 8 External interrupt in 51 controller Responding to: ???'s previous message |
am using ST16C554 which is 4 channel Uart, whichit generate interrupts as RX and TX FIFO full or Empty, so i need 8 interrupt to fullfil design needs
why did you not say this at first 1) the chips will keep the interrupt line till you satisfy the condition i.e. the interrupts are latched. 2) with latched interrupts, all you need is a simple OR. OR all the ST16C554 interrupts together and in your ISR find a cause, satisfy it and exit. With a level activated interrupt you will get right back into the ISR if another cause existed or came up during IST execution. Erik |