From 76cb1bac2b6af7d1445cb4869cd7dc66b1644c70 Mon Sep 17 00:00:00 2001 From: Patrick Hobusch Date: Thu, 15 Jun 2017 15:21:31 +0200 Subject: [PATCH] Fix distinction between shared and non-shared interrupts in docs Merges https://github.com/espressif/esp-idf/pull/701 --- docs/api-reference/system/intr_alloc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-reference/system/intr_alloc.rst b/docs/api-reference/system/intr_alloc.rst index 7411c4936..7fc20dfc8 100644 --- a/docs/api-reference/system/intr_alloc.rst +++ b/docs/api-reference/system/intr_alloc.rst @@ -15,7 +15,7 @@ install the given interrupt handler and ISR to it. This code has two different types of interrupts it handles differently: Shared interrupts and non-shared interrupts. The simplest of the two are non-shared interrupts: a separate interrupt is allocated per esp_intr_alloc call and this interrupt is solely used for -the peripheral attached to it, with only one ISR that will get called. Non-shared interrupts can have multiple peripherals triggering +the peripheral attached to it, with only one ISR that will get called. Shared interrupts can have multiple peripherals triggering it, with multiple ISRs being called when one of the peripherals attached signals an interrupt. Thus, ISRs that are intended for shared interrupts should check the interrupt status of the peripheral they service in order to see if any action is required.