I would like to make a spot welding device with pulse current from 0.02 to 10 s.
For prototyping I'm using 3 push buttons; one to initiate the welding process and two for current control (current+ and current-).
I am using a Nucleo-F042K6 which has two interrupt functions for interrupts, EXTI line 0 to 1 interrupts and EXTI line 4 to 15 interrupts. How do I select the microcontroller lines for current+ and current- with interrupts from EXTI line 4 to 15 interrupts, since they're using the same function? I already used one of the lines (EXTI line 0 to 1 interrupts) to initiate the welding.