Please read https://devel.rtems.org/wiki/Developer/Coding/Conventions carefully including some of the linked pages related to style. Search back through this mailing list for discussions related to the gpio framework. Would it be sensible to stick close to the gpio framework and add pwm to it?
On Fri, Apr 1, 2016 at 4:10 PM, punit vara <punitv...@gmail.com> wrote: > Recently Worth Burruss suggested me function prototype for getting started > to develop PWM driver. I updated my blog > http://punitvara.github.io/rtems%20drivers/2016/02/28/basic-function with > sample functions. > > rtems_status_code SetDutyCycle(int subSystemNumber,float HZ, float > DutyCycleA, float DutyCycleB); > void PWMSubSystemEnable(int subSytemNumber,bool EnableOrDisable); > > I have written this function at > https://github.com/punitvara/rtems_gsoc16/blob/master/pwd/worth.c > > > Marcos, can you please look at blog and function definition? Do you have > advice for me ? > > Thanks, > Punit Vara > > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel