[riot-notifications] [RIOT-OS/RIOT] drivers/periph: define rtc_mem and implement it for sam0_common (#16758)

Francisco notifications at github.com
Fri Sep 3 09:36:56 CEST 2021

@fjmolinas commented on this pull request.

> +/**
+ * @brief Write to RTC memory
+ *
+ * @param[in] offset    Offset to the start of RTC memory in bytes
+ * @param[in] data      Source buffer
+ * @param[in] len       Amount of bytes to write
+ */
+void rtc_mem_write(unsigned offset, const void *data, size_t len);

Can we make the behaviour explicit when attempts to write out of bounds? Will it write what it can or fail?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210903/d7f7155b/attachment-0001.htm>

More information about the notifications mailing list