/Zephyr-latest/samples/boards/nordic/system_off/src/ |
D | retained.c | 24 struct retained_data retained; variable 27 #define RETAINED_CHECKED_SIZE (RETAINED_CRC_OFFSET + sizeof(retained.crc)) 33 rc = retained_mem_read(retained_mem_device, 0, (uint8_t *)&retained, sizeof(retained)); in retained_validate() 42 uint32_t crc = crc32_ieee((const uint8_t *)&retained, in retained_validate() 48 memset(&retained, 0, sizeof(retained)); in retained_validate() 52 retained.uptime_latest = 0; in retained_validate() 63 retained.uptime_sum += (now - retained.uptime_latest); in retained_update() 64 retained.uptime_latest = now; in retained_update() 66 uint32_t crc = crc32_ieee((const uint8_t *)&retained, in retained_update() 69 retained.crc = sys_cpu_to_le32(crc); in retained_update() [all …]
|
D | main.c | 47 retained.boots += 1; in main() 51 printf("Boot count: %u\n", retained.boots); in main() 52 printf("Off count: %u\n", retained.off_count); in main() 53 printf("Active Ticks: %" PRIu64 "\n", retained.uptime_sum); in main() 97 retained.off_count += 1; in main()
|
D | retained.h | 41 extern struct retained_data retained;
|
/Zephyr-latest/drivers/retained_mem/ |
D | Kconfig.zephyr | 5 bool "Generic Zephyr RAM retained memory driver" 9 Enable driver for retained memory in RAM. 12 bool "Generic Zephyr register retained memory driver" 16 Enable driver for retained memory in retained registers.
|
D | Kconfig | 25 bool "Disable retained memory mutex support" 28 Disable use of mutexes which prevent issues with concurrent retained 29 memory access. This option should only be enabled when retained
|
D | Kconfig.nrf | 9 Enable driver for Nordic nRF GPREGRET-based retained memory
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | retained_mem.rst | 9 The retained memory driver API provides a way of reading from/writing to memory 10 areas whereby the contents of the memory is retained whilst the device is 25 Mutex protection of retained memory drivers is enabled by default when 27 different threads can safely call the retained memory functions without 28 clashing with other concurrent thread function usage, but means that retained 30 protection globally on all retained memory drivers by enabling
|
/Zephyr-latest/samples/boards/nordic/system_off/boards/ |
D | nrf52dk_nrf52832.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region */
|
D | nrf52840dk_nrf52840.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region */
|
D | nrf54l15dk_nrf54l05_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region */
|
D | nrf54l15dk_nrf54l10_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
D | nrf54l20pdk_nrf54l20_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
/Zephyr-latest/tests/drivers/retained_mem/api/boards/ |
D | nrf54l15dk_nrf54l05_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
D | nrf54l15dk_nrf54l10_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
D | nrf54l20pdk_nrf54l20_cpuapp.overlay | 9 compatible = "zephyr,retained-ram"; 20 /* Shrink SRAM size to avoid overlap with retained memory region:
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 9 compatible = "zephyr,retained-ram";
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 9 compatible = "zephyr,retained-ram";
|
D | nrf54h20dk_nrf54h20_cpurad.overlay | 9 compatible = "zephyr,retained-ram";
|
D | qemu_cortex_m3.overlay | 11 compatible = "zephyr,retained-ram";
|
D | nrf52840dk_nrf52840_ram.overlay | 9 compatible = "zephyr,retained-ram";
|
/Zephyr-latest/samples/boards/nordic/system_off/ |
D | CMakeLists.txt | 9 target_sources(app PRIVATE src/retained.c)
|
/Zephyr-latest/samples/subsys/mgmt/mcumgr/smp_svr/sysbuild/ |
D | nrf52840dk_nrf52840_mcuboot_ram_load.overlay | 9 compatible = "zephyr,retained-ram";
|
/Zephyr-latest/doc/services/retention/ |
D | index.rst | 15 The retention system builds on top of the retained data driver, and adds 18 the retained data memory section contains this specific value, and an optional 21 the retained data sections into multiple distinct areas. For example, a 64-byte 22 retained data area could be split up into 4 bytes for a boot mode, 16 bytes for 30 To use the retention system, a retained data driver must be setup for the board 48 compatible = "zephyr,retained-ram"; 164 compatible = "zephyr,retained-ram";
|
/Zephyr-latest/subsys/retention/ |
D | Kconfig | 10 Enables support for the retention system, which uses retained memory 20 priorities for retained memory drivers).
|