PWM dimmable constant current buck LED driver with robust protection and reporting DC-to-DC and integrates an N-channel MOSFET to operate in a buck configuration