/Zephyr-latest/samples/boards/st/backup_sram/src/ |
D | main.c | 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() [all …]
|
/Zephyr-latest/soc/nordic/nrf54h/ |
D | pm_s2ram.c | 43 struct backup { struct 48 static __noinit struct backup backup_data; argument 56 static void mpu_suspend(_mpu_context_t *backup) in mpu_suspend() argument 62 backup->RNR = MPU->RNR; in mpu_suspend() 66 backup->RBAR[i] = MPU->RBAR; in mpu_suspend() 67 backup->RLAR[i] = MPU->RLAR; in mpu_suspend() 69 backup->MAIR0 = MPU->MAIR0; in mpu_suspend() 70 backup->MAIR1 = MPU->MAIR1; in mpu_suspend() 71 backup->CTRL = MPU->CTRL; in mpu_suspend() 74 static void mpu_resume(_mpu_context_t *backup) in mpu_resume() argument [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | st,stm32-bbram.yaml | 8 application data. They are implemented in the backup domain that remains 11 reset by a backup domain reset. 18 st,backup-regs: 21 description: Number of available backup registers.
|
D | st,stm32-backup-sram.yaml | 5 STM32 Backup SRAM. 7 With a battery connected to the VBAT pin, the backup SRAM can be used to 10 compatible: "st,stm32-backup-sram"
|
/Zephyr-latest/samples/boards/st/backup_sram/ |
D | README.rst | 2 :name: Backup SRAM 4 Use Backup SRAM to store a variable that persists across power cycles. 9 Multiple STM32 microcontrollers have a small backup SRAM that can be used as a 12 This example shows how to define a variable on the Backup SRAM. Each time the 39 Current value in backup SRAM: 11
|
D | sample.yaml | 2 description: Usage of backup SRAM on STM32 8 filter: dt_compat_enabled("st,stm32-backup-sram")
|
/Zephyr-latest/boards/sifive/hifive_unleashed/support/ |
D | openocd_hifive_unleashed.cfg | 20 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 21 $_TARGETNAME.1 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 22 $_TARGETNAME.2 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 23 $_TARGETNAME.3 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 24 $_TARGETNAME.4 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
|
/Zephyr-latest/boards/sifive/hifive_unmatched/support/ |
D | openocd_hifive_unmatched.cfg | 20 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 21 $_TARGETNAME.1 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 22 $_TARGETNAME.2 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 23 $_TARGETNAME.3 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1 24 $_TARGETNAME.4 configure -work-area-phys 0x80000000 -work-area-size 0x4000 -work-area-backup 1
|
/Zephyr-latest/soc/st/stm32/common/ |
D | stm32_backup_sram.c | 37 LOG_ERR("Could not initialize backup SRAM clock (%d)", ret); in stm32_backup_sram_init() 41 /* enable write access to backup domain */ in stm32_backup_sram_init() 46 /* enable backup sram regulator (required to retain backup SRAM content in stm32_backup_sram_init()
|
/Zephyr-latest/subsys/net/ip/ |
D | udp.c | 68 struct net_pkt_cursor backup; in net_udp_get_hdr() local 77 net_pkt_cursor_backup(pkt, &backup); in net_udp_get_hdr() 89 net_pkt_cursor_restore(pkt, &backup); in net_udp_get_hdr() 99 struct net_pkt_cursor backup; in net_udp_set_hdr() local 106 net_pkt_cursor_backup(pkt, &backup); in net_udp_set_hdr() 124 net_pkt_cursor_restore(pkt, &backup); in net_udp_set_hdr()
|
/Zephyr-latest/drivers/bbram/ |
D | Kconfig.stm32 | 14 application data. They are implemented in the backup domain that remains 17 reset by a backup domain reset.
|
/Zephyr-latest/dts/bindings/rtc/ |
D | microcrystal,rv3028.yaml | 25 backup-switch-mode: 33 Automatic backup switchover function selection:
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_reassembly/src/ |
D | main.c | 21 static struct net_buf *backup; variable 24 * for further processing; since there is nothing to process, this stub will only backup 30 backup = nb; in smp_rx_req() 78 smp_packet_free(backup); in ZTEST() 152 p = net_buf_pull_mem(backup, TEST_FRAME_SIZE); in ZTEST() 160 smp_packet_free(backup); in ZTEST()
|
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/ |
D | .gitignore | 1 # Ignore drawio backup files
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_dwc2.c | 109 struct dwc2_reg_backup backup; member 858 struct dwc2_reg_backup *backup = &priv->backup; in dwc2_backup_registers() local 860 backup->gotgctl = sys_read32((mem_addr_t)&base->gotgctl); in dwc2_backup_registers() 861 backup->gahbcfg = sys_read32((mem_addr_t)&base->gahbcfg); in dwc2_backup_registers() 862 backup->gusbcfg = sys_read32((mem_addr_t)&base->gusbcfg); in dwc2_backup_registers() 863 backup->gintmsk = sys_read32((mem_addr_t)&base->gintmsk); in dwc2_backup_registers() 864 backup->grxfsiz = sys_read32((mem_addr_t)&base->grxfsiz); in dwc2_backup_registers() 865 backup->gnptxfsiz = sys_read32((mem_addr_t)&base->gnptxfsiz); in dwc2_backup_registers() 866 backup->gi2cctl = sys_read32((mem_addr_t)&base->gi2cctl); in dwc2_backup_registers() 867 backup->glpmcfg = sys_read32((mem_addr_t)&base->glpmcfg); in dwc2_backup_registers() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | buf.c | 224 meta->backup.data = parent->data; in bt_buf_make_view() 227 meta->backup.size = parent->size; in bt_buf_make_view() 231 /* save backup & "clip" the buffer so the next `make_view` will fail */ in bt_buf_make_view() 244 meta->parent->data = meta->backup.data; in bt_buf_destroy_view() 245 meta->parent->size = meta->backup.size; in bt_buf_destroy_view()
|
/Zephyr-latest/soc/st/stm32/ |
D | Kconfig | 28 bool "STM32 Backup SRAM" 31 Enable support for STM32 backup SRAM.
|
/Zephyr-latest/boards/digilent/arty_a7/support/ |
D | openocd_arty_a7_arm_designstart.cfg | 6 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
|
/Zephyr-latest/boards/wch/ch32v003evt/support/ |
D | openocd.cfg | 10 $_TARGETNAME.0 configure -work-area-phys 0x80000000 -work-area-size 10000 -work-area-backup 1
|
/Zephyr-latest/boards/sc/scobc_module1/support/ |
D | openocd.cfg | 17 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
|
/Zephyr-latest/soc/atmel/sam/common/ |
D | soc_poweroff.c | 10 * Poweroff will make the chip enter the backup low-power mode, which
|
D | soc_sam4l_poweroff.c | 10 * Poweroff will make the chip enter the backup low-power mode, which
|
/Zephyr-latest/dts/arm/st/f3/ |
D | stm32f302X8.dtsi | 25 st,backup-regs = <20>;
|
/Zephyr-latest/dts/arm/st/l1/ |
D | stm32l151Xb-a.dtsi | 28 st,backup-regs = <5>;
|
D | stm32l151Xb.dtsi | 28 st,backup-regs = <20>;
|