In order to configure interrupt for PortPin in ASR, e.g., interrupt handler when a pin is toggler, you might need to use ICU module. These below steps decribes the configuration:
1. Enable ICU module and configure general parameter:

2. In IcuHwInterruptConfigList, add all available options, then tick to the port pin for targetting interrupt handling (for example, tick to the PORT_0_CH_3 for triggering interrupt when Pin A3 is toggled:

3. In ICU port tab, add the corresponding port pin to the configuration:


4. In ICU channel, configure ICU signal detection in Port Pin:
Link the IcuPortChannelRef to recent created Port pin channel. Choose ICU_MODE_SIGNAL_EDGE_DETECT in IcuMeasurementMode, and choose default start edge for expecting capture edge signal

Enable the Icu Signal Detect option. You can configure notification callback if desired:

In addition, you need to enable the interrupt source and map the interrupt handler to the NVIC. Please note that the ISR are named by default in the ICU driver, not something that you can created by your own (Please refer to the ICU IM document):

So it would be like:
sys_enableIsrSource(75, 0x70);
sys_registerIsrHandler(75,(uint32)&ICU_PORT_CI_A_EXT_IRQ_ISR));
Best Regards,
Nam