Introduced new mechanism to pass PWM data over c_pwm channel instead of via shared memory (switchable using define SHARED_MEM)