Update rtc_set_datetime docs to point out that the written value may not be immediately visible #832

Merged
kilograham merged 2 commits from rtc_doc into develop 2022-05-17 12:59:00 -05:00
kilograham commented 2022-05-17 12:38:53 -05:00 (Migrated from github.com)
No description provided.
lurch commented 2022-05-17 12:52:35 -05:00 (Migrated from github.com)

I guess this relates to the "All RTC register reads and writes are done from the processor clock domain clk_sys. All data are synchronised back and forth between the domains. Writing to the RTC will take 2 clk_rtc clock periods to arrive, additional to the clk_sys domain. This should be taken into account especially when the reference is slow (e.g. 1 Hz)." note in section 4.8.4 of the RP2040 datasheet?

I guess this relates to the "All RTC register reads and writes are done from the processor clock domain clk_sys. All data are synchronised back and forth between the domains. Writing to the RTC will take 2 clk_rtc clock periods to arrive, additional to the clk_sys domain. This should be taken into account especially when the reference is slow (e.g. 1 Hz)." note in section 4.8.4 of the RP2040 datasheet?
lurch (Migrated from github.com) approved these changes 2022-05-17 12:53:07 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!832
No description provided.