Design of an integrated scanning micromirror driver in BCD technology