See M4 triggering and bias voltage generation