@@ -21,7 +21,7 @@ Please remember that the backup domain content is wiped by the driver if, after
...
@@ -21,7 +21,7 @@ Please remember that the backup domain content is wiped by the driver if, after
After enabling it, in order to read/write from/to the backup domain, you can simply use pointers or standard C/C++ functions, such as `memcpy` (better performance), starting from the backup region base address, which is `BKPSRAM_BASE`.
After enabling it, in order to read/write from/to the backup domain, you can simply use pointers or standard C/C++ functions, such as `memcpy` (better performance), starting from the backup region base address, which is `BKPSRAM_BASE`.
#### Example
## Example
This basic example shows how you can write to the backup SRAM using the Miosix SGM driver.
This basic example shows how you can write to the backup SRAM using the Miosix SGM driver.
In a very similar way you can also read the data you stored.
In a very similar way you can also read the data you stored.