Skip to content

Commit 564aa64

Browse files
committed
minor irq.h comment tweaks
1 parent 24c4480 commit 564aa64

File tree

1 file changed

+3
-3
lines changed
  • src/rp2_common/hardware_irq/include/hardware

1 file changed

+3
-3
lines changed

src/rp2_common/hardware_irq/include/hardware/irq.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ void irq_set_mask_n_enabled(uint n, uint32_t mask, bool enabled);
286286
* This method will assert if there is already any sort of interrupt handler installed
287287
* for the specified irq number.
288288
*
289-
* NOTE: By default, the SDK uses a single shared vector table per core, and the current installed
289+
* NOTE: By default, the SDK uses a single shared vector table for both cores, and the currently installed
290290
* IRQ handlers are effectively a linked list starting a vector table entry for a particular IRQ number.
291291
* Therefore, this method (when using the same vector table for both cores) sets the same interrupt handler
292292
* for both cores.
@@ -309,7 +309,7 @@ void irq_set_mask_n_enabled(uint n, uint32_t mask, bool enabled);
309309
* NOTE: It is not thread safe to add/remove/handle IRQs for the same irq number in the same vector table
310310
* from both cores concurrently.
311311
*
312-
* NOTE: The SDK defines a PICO_VTABLE_PER_CORE variable indicating whether the two vector tables are separate,
312+
* NOTE: The SDK has a PICO_VTABLE_PER_CORE define indicating whether the two vector tables are separate,
313313
* however as of version 2.1.1 the user cannot set this value, and expect the vector table duplication to be handled
314314
* for them. This functionality will be added in a future SDK version
315315
*
@@ -343,7 +343,7 @@ irq_handler_t irq_get_exclusive_handler(uint num);
343343
* the (total across all IRQs on both cores) maximum (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) number of shared handlers
344344
* would be exceeded.
345345
*
346-
* NOTE: By default, the SDK uses a single shared vector table per core, and the current installed
346+
* NOTE: By default, the SDK uses a single shared vector table for both core, and the currently installed
347347
* IRQ handlers are effectively a linked list starting a vector table entry for a particular IRQ number.
348348
* Therefore, this method (when using the same vector table for both cores) add the same interrupt handler
349349
* for both cores.

0 commit comments

Comments
 (0)