Further changes to enabling the pwm

Added the feature to enable a pwm based on a channel ranging from 0-3,
along with the ability to configure the duty cycle as %age and the time
period in nano seconds