Lines Matching full:retention
3 Retention System
6 The retention system provides an API which allows applications to read and
15 The retention system builds on top of the retained data driver, and adds
20 end of the data. Additionally, the retention system API allows partitioning of
30 To use the retention system, a retained data driver must be setup for the board
32 RAM as non-init for this purpose. The retention system is then initialised as a
54 retention0: retention@0 {
55 compatible = "zephyr,retention";
76 retention1: retention@100 {
77 compatible = "zephyr,retention";
107 The retention areas can then be accessed using the data retention API (once
115 #include <zephyr/retention/retention.h>
127 Mutex protection of retention areas is enabled by default when applications are
129 safely call the retention functions without clashing with other concurrent
130 thread function usage, but means that retention functions cannot be used from
131 ISRs. It is possible to disable mutex protection globally on all retention
134 with each other. Note that to use this, retention driver mutex support must
143 An addition to the retention subsystem is a boot mode interface, this can be
149 To use the boot mode feature, a data retention entry must exist in the device
169 retention0: retention@0 {
170 compatible = "zephyr,retention";
195 #include <zephyr/retention/bootmode.h>
201 Retention system modules
204 Modules can expand the functionality of the retention system by using it as a
215 Retention system API