mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
Fix distinction between shared and non-shared interrupts in docs
Merges https://github.com/espressif/esp-idf/pull/701
This commit is contained in:
committed by
Angus Gratton
parent
762d5fcb4c
commit
76cb1bac2b
@@ -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
|
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
|
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
|
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.
|
interrupts should check the interrupt status of the peripheral they service in order to see if any action is required.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user