powman_timer_enable_alarm_at_ms documentation
powman_timer_enable_alarm_at_ms has the following comment "Note, the timer is stopped and then restarted as part of this function." but this is not documented in the datasheet nor appears to be true in the code. Was this supposed to say "Note, the alarm is stopped and then restarted as part of this function"? If not, where is this behavior covered in the datasheet?
Was this supposed to say "Note, the alarm is stopped and then restarted as part of this function"?
Yeah, https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/hardware_powman/powman.c#L229 says // Alarm must be disabled to set the alarm time so it looks like this was just a typo in the doxygen-comment. Would you like to submit a PR? 🙂