Closed
Description
The documentation says on pio_sm_clkdiv_restart():
"Restart a state machine's clock divider (resetting the fractional count)"
This sounds, like only the fractional part would be reset, if the phrase in parentheses is taken as an explanation for the phrase before.
In fact, the integer count value is reset and the fractional accumulator (this is not a count!) is cleared, according to RP2040 datasheet, Sect. 3.7, Table 379.
Same for pio_clkdiv_restart_sm_mask().
Metadata
Metadata
Assignees
Labels
No labels