+static void zynq_gpio_irq_ack(struct irq_data *irq_data) + * in the Interrupt Status Register of the corresponding bank, to ACK the irq. + * This function calculates gpio pin number from irq number and sets the bit ![]() + * data containing irq number of gpio pin for the interrupt + * zynq_gpio_irq_ack - Acknowledge the interrupt of a gpio pin +++ -324,6 +324,48 static void zynq_gpio_irq_unmask(struct irq_data *irq_data) Interrupt is unmasked this false interrupt will be propagated and the interrupt Interrupt before the interrupt type was correctly configured and once the But the detection circuit might have already registered a false when a interrupt is requested with request_irq() it will be configuredĪccording to the requested type (edge/level triggered, etc.) after that it willīe enabled. ![]() Spurious interrupts to prevent this first make sure that the interrupt is notĮ.g. This will cause the interrupt consumer to see Logically disabled (and masked) it will propagate the recorded interrupt event ![]() Means when the controller detects an interrupt condition while the interrupt is Interrupt is masked and only disables the propagation of the interrupt. The Zynq GPIO controller does not disable the interrupt detection when the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |