This method allows ANY RA4M1 interrupt to be accessed by updating the ICU Event Number table.
Note: The code references the R4 Minima pins, e.g. P106 and P107 for D6 and D7; on the R4 WiFi these are D4 and D5.
This example shows an ADC completed interrupt which toggles a pulse after an ADC conversion start.