Patent ID: 7791288

Claim:
A semiconductor device that drives a light emitting element, said semiconductor device comprising: an output terminal connected to said light emitting element; a driving current supply circuit for supplying a driving current to said light emitting element when causing said light emitting element to emit light; an auxiliary current supply circuit for, when the driving current supplied from said driving current supply circuit rises, supplying an auxiliary current for speeding up the rise of the driving current to said light emitting element; a dumping circuit connected to said output terminal and provided with a resistor and a capacitor connected in series; a switch connected between said dumping circuit and a first voltage terminal at which a first voltage is supplied from outside; a dumping circuit setting circuit for switching conduction and non-conduction states of said switch according to switch setting information; and a suppression current supply circuit for supplying a suppression current for reducing a decrease in the driving current, which occurs after occurrence of an overshoot at the time of the rise of the driving current supplied from said driving current supply circuit, to said light emitting element.