Added PWM control register setter member functions to pwm_registers, with unit tests