I would like to use the PWM output on a MCU to give me a plus and minus voltage for use in controlling a Variable gain amplifier. Is this as simple as using totem pole transistors with the source/emitter of the P-type connected to +5V and the source/emitter of the N-type connected to -5V so when Duty Cycle (D) is roughly equal to 50% (taking dead time requirements into account) the output after the Low Pass filter is 0V?

