XMOS PWM software component