That's exactly what it does. The PWM output is active low, i.e. a pull-down to GND. The wider the pulse the lower the average voltage.