A method for charge control of a photoflash capacitor. The method includes generating
an input current to induce a charge current for the photoflash capacitor when an
activation signal is asserted, detecting a first voltage from the photoflash capacitor
and a second voltage corresponding to the input current, asserting and de-asserting
a recharge signal respectively when the first detected voltage is lower and higher
than a first reference voltage, asserting and de-asserting a current limit signal
respectively when the second detected voltage is higher and lower than a second
reference voltage, asserting the activation signal only when the recharge signal
is asserted and the current limit signal is de-asserted, and providing a pin for
connection of a resistive element which determines the second reference voltage.