Lines Matching full:backup
22 /** Value stored in backup SRAM. */
23 __stm32_backup_sram_section struct backup_store backup; variable
30 printk("ERROR: BackUp SRAM device is not ready\n"); in main()
34 if (backup.magic != BACKUP_MAGIC) { in main()
35 backup.magic = BACKUP_MAGIC; in main()
36 backup.value = 0; in main()
37 printk("Invalid magic in backup SRAM structure - resetting value.\n"); in main()
40 printk("Current value in backup SRAM (%p): %d\n", &backup.value, backup.value); in main()
42 backup.value++; in main()
44 SCB_CleanDCache_by_Addr(&backup, sizeof(backup)); in main()
47 printk("Next reported value should be: %d\n", backup.value); in main()