Figure 1:
Principle schematic of a half bridge driving an inductive load.