<div dir="ltr">I am extremely sorry about my rough work. I have gone through coding conversion. From next time I will strictly follow coding conventions and publish my work in good way. It seems that I have to generate gpio interface file for epwm pins same as <span style="font-size:12.8px">André Marques used in i2c code for rpi. Yes it is possible to stick close to the gpio framework. Right now my primary focus is to implement pwm driver with minimum functions and utilize epwm pins(for which pin muxing is not required as their by default mode supports epwm) to generate pwm waveform with 50% duty cycle. Once I am successful to generate pwm waveform and able to show demo then with community we can decide where to add necessary functions. Any suggestions to make my primary task more focused are welcome.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you,</span></div><div><span style="font-size:12.8px">Punit Vara</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 3, 2016 at 6:29 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please read <a href="https://devel.rtems.org/wiki/Developer/Coding/Conventions" rel="noreferrer" target="_blank">https://devel.rtems.org/wiki/Developer/Coding/Conventions</a><br>
carefully including some of the linked pages related to style. Search<br>
back through this mailing list for discussions related to the gpio<br>
framework. Would it be sensible to stick close to the gpio framework<br>
and add pwm to it?<br>
<div><div class="h5"><br>
On Fri, Apr 1, 2016 at 4:10 PM, punit vara <<a href="mailto:punitvara@gmail.com">punitvara@gmail.com</a>> wrote:<br>
> Recently Worth Burruss suggested me function prototype for getting started<br>
> to develop PWM driver. I updated my blog<br>
> <a href="http://punitvara.github.io/rtems%20drivers/2016/02/28/basic-function" rel="noreferrer" target="_blank">http://punitvara.github.io/rtems%20drivers/2016/02/28/basic-function</a> with<br>
> sample functions.<br>
><br>
> rtems_status_code SetDutyCycle(int subSystemNumber,float HZ, float<br>
> DutyCycleA, float DutyCycleB);<br>
> void PWMSubSystemEnable(int subSytemNumber,bool EnableOrDisable);<br>
><br>
> I have written this function at<br>
> <a href="https://github.com/punitvara/rtems_gsoc16/blob/master/pwd/worth.c" rel="noreferrer" target="_blank">https://github.com/punitvara/rtems_gsoc16/blob/master/pwd/worth.c</a><br>
><br>
><br>
> Marcos, can you please look at blog and function definition? Do you have<br>
> advice for me ?<br>
><br>
> Thanks,<br>
> Punit Vara<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div><br></div></div>