2018-02-12 05:44 AM
hi
how to set counter value to zero without resetting lptimer after read the count value .
2018-02-12 05:47 AM
Yes.
2018-02-12 07:11 AM
how
this maybe?
tmp = htim->Instance->CNT;
htim->Instance->CCR1 = tmp;
some registers can't be cleared.
did you check the reference manual ?
2018-02-12 08:06 AM
how