Skip to content

Commit 7668ad1

Browse files
authored
Fix typo in gpio.h
Align the comments and documentation with the correct constant name
1 parent a1438df commit 7668ad1

File tree

1 file changed

+6
-6
lines changed
  • src/rp2_common/hardware_gpio/include/hardware

1 file changed

+6
-6
lines changed

src/rp2_common/hardware_gpio/include/hardware/gpio.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static inline void gpio_acknowledge_irq(uint gpio, uint32_t event_mask) {
587587
*
588588
* \note Multiple raw handlers should not be added for the same GPIOs, and this method will assert if you attempt to.
589589
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
590-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
590+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
591591
*
592592
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
593593
*
@@ -622,7 +622,7 @@ void gpio_add_raw_irq_handler_with_order_priority_masked(uint32_t gpio_mask, irq
622622
*
623623
* \note Multiple raw handlers should not be added for the same GPIOs, and this method will assert if you attempt to.
624624
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
625-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
625+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
626626
*
627627
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
628628
*
@@ -657,7 +657,7 @@ void gpio_add_raw_irq_handler_with_order_priority_masked64(uint64_t gpio_mask, i
657657
*
658658
* \note Multiple raw handlers should not be added for the same GPIO, and this method will assert if you attempt to.
659659
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
660-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
660+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
661661
*
662662
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
663663
*
@@ -693,7 +693,7 @@ static inline void gpio_add_raw_irq_handler_with_order_priority(uint gpio, irq_h
693693
*
694694
* \note Multiple raw handlers should not be added for the same GPIOs, and this method will assert if you attempt to.
695695
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
696-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
696+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
697697
*
698698
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
699699
*
@@ -725,7 +725,7 @@ void gpio_add_raw_irq_handler_masked(uint32_t gpio_mask, irq_handler_t handler);
725725
*
726726
* \note Multiple raw handlers should not be added for the same GPIOs, and this method will assert if you attempt to.
727727
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
728-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
728+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
729729
*
730730
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
731731
*
@@ -757,7 +757,7 @@ void gpio_add_raw_irq_handler_masked64(uint64_t gpio_mask, irq_handler_t handler
757757
*
758758
* \note Multiple raw handlers should not be added for the same GPIO, and this method will assert if you attempt to.
759759
* Internally, this function calls \ref irq_add_shared_handler, which will assert if the maximum number of shared handlers
760-
* (configurable via PICO_MAX_IRQ_SHARED_HANDLERS) would be exceeded.
760+
* (configurable via PICO_MAX_SHARED_IRQ_HANDLERS) would be exceeded.
761761
*
762762
* A raw handler should check for whichever GPIOs and events it handles, and acknowledge them itself; it might look something like:
763763
*

0 commit comments

Comments
 (0)