Hardware Abstraction Layer (HAL)

Interrupt Priorities

In CAT2 (PMG/PSoC™ 4), ports 0 through 3 have dedicated IRQ lines (ioss_interrupts_gpio_0_IRQn - ioss_interrupts_gpio_3_IRQn) and other ports are required to use the All-Port IRQ line (ioss_interrupt_gpio_IRQn). If multiple pins on the same port are set at different priorities, the priority that the last pin is set to will be applied to all pins used on that port. When using the pin that does not have a dedicated IRQ line (port 4 and higher) following are the implications,

  1. The priority set through cyhal_gpio_enable_event for the specific pin will apply to all pins on port 4 and higher.
  2. The interrupts will not be proccessed in the same order as they were received because the same All-Port IRQ line will be used for all GPIOs.

Interconnect

PSoC™ 4 does not have GPIO triggers.