A system comprising: a control circuit, the control circuit including: a plurality of detectors (220, 224, 236, 238); a plurality of filters (228, 230), each filter coupled to a detector of the plurality of detectors (220, 224, 236, 238) a logic circuit coupled to the plurality of detectors (220, 224, 236, 238) and to the plurality of filters (228, 230); a diode circuit (DDESAT); and a switch having a gate, a first node and a second node; wherein the diode circuit (DDESAT) is coupled between the first node of the switch and the plurality of detectors (220, 224, 236, 238), wherein the logic circuit is coupled to the gate of the switch, wherein the plurality of detectors (220, 224, 236, 238) includes at least a first detector (220, 236) and a second detector (224, 238), wherein each detector is configured to provide a respective event overcurrent signal by measuring a signal provided by the diode circuit (DDESAT) and comparing the signal to a detection threshold of the detector; and wherein each filter of the plurality of filters (228, 230) is configured to filter the event overcurrent signal of the respective detector of the plurality of detectors (220, 224, 236, 238) and to provide the filtered event overcurrent signal to the logic circuit; characterized in that the logic circuit is configured to program the detection threshold of at least one detector of the plurality of detectors (220, 224, 236, 238), the logic circuit is configured to count at least the event overcurrent signal of the second detector (224, 238) and to generate a multiple event overcurrent signal if a maximum number of event overcurrent signals of the second detector is reached, and the logic circuit is configured to program the detection threshold of the at least one detector of the plurality of detectors (220, 224, 236, 238) based on the multiple event overcurrent signal. a control circuit, the control circuit including: a plurality of detectors (220, 224, 236, 238); a plurality of filters (228, 230), each filter coupled to a detector of the plurality of detectors (220, 224, 236, 238) a logic circuit coupled to the plurality of detectors (220, 224, 236, 238) and to the plurality of filters (228, 230); a plurality of detectors (220, 224, 236, 238); a plurality of filters (228, 230), each filter coupled to a detector of the plurality of detectors (220, 224, 236, 238) a logic circuit coupled to the plurality of detectors (220, 224, 236, 238) and to the plurality of filters (228, 230); a diode circuit (DDESAT); and a switch having a gate, a first node and a second node; wherein the diode circuit (DDESAT) is coupled between the first node of the switch and the plurality of detectors (220, 224, 236, 238), wherein the logic circuit is coupled to the gate of the switch, wherein the plurality of detectors (220, 224, 236, 238) includes at least a first detector (220, 236) and a second detector (224, 238), wherein each detector is configured to provide a respective event overcurrent signal by measuring a signal provided by the diode circuit (DDESAT) and comparing the signal to a detection threshold of the detector; and wherein each filter of the plurality of filters (228, 230) is configured to filter the event overcurrent signal of the respective detector of the plurality of detectors (220, 224, 236, 238) and to provide the filtered event overcurrent signal to the logic circuit; the logic circuit is configured to program the detection threshold of at least one detector of the plurality of detectors (220, 224, 236, 238), the logic circuit is configured to count at least the event overcurrent signal of the second detector (224, 238) and to generate a multiple event overcurrent signal if a maximum number of event overcurrent signals of the second detector is reached, and the logic circuit is configured to program the detection threshold of the at least one detector of the plurality of detectors (220, 224, 236, 238) based on the multiple event overcurrent signal.