it depends on the power of the inverter.But i advice that u can use IR2153 for switching parts.And also use optocouplers to prevent damaging of pwm pins...
They are two possibilities as far as I know. The first one is a gate that make 0V with 5V and 5V with 0V. The second one is the inverter used for making an alternating current from a dc source. Ex: using a tv in your car. Hope this help,