Hi Uwe,

On Mon, Mar 29, 2021 at 05:51:40PM +0200, Uwe Kleine-König wrote:
> Hello Clemens,
> 
> On Mon, Mar 29, 2021 at 02:57:02PM +0200, Clemens Gruber wrote:
> > The hardware readout may return slightly different values than those
> > that were set in apply due to the limited range of possible prescale and
> > counter register values.
> 
> This is fine and for most hardware that's not preventable. My
> requirement here is that 
> 
>       .get_state(pwm, &state);
>       .apply_state(pwm, &state);
> 
> doesn't yield any changes.

Yes, that would not change anything.

Thanks,
Clemens

Reply via email to