Messages in this thread | | | Date | Tue, 6 Nov 2012 18:19:39 +0100 | From | Alban Bedel <> | Subject | Re: [PATCH] pwm: lpc32xx - Fix the PWM polarity |
| |
On Tue, 6 Nov 2012 07:47:22 -0200 Alexandre Pereira da Silva <aletes.xgr@gmail.com> wrote:
> Can you test the 0 and 255 values on actual hardware and see the effective > values?
0 -> 0% 1 -> 99% 128 -> 50% 255 -> 1%
So yes 0 mean 256.
> It may be handled as the RELOADV where 0 really means 256. If so, you can > use the same logic I used originally on the frequency division.
I'll look at this and submit a new patch.
Alban
| |