Especially with interrupt. I see a code that for PIO interrupt use the API Hwi_construct(&PinHwi, INT_EDGE_DETECT, PIN_Isr,&hwiParams, NULL); but I can't see how it setting the HW IRQ for particular inputs. The some is for ADC. it point to the ADCisr , but I can't see how it active the particular interrupt when there is ADC end of sample.