Functions to read/write battery-backed hardware registers. More...
|uint32_t||gos_backup_register_read (gos_backup_register_t reg)|
|Read from a backup register. More...|
|void||gos_backup_register_write (gos_backup_register_t reg, uint32_t value)|
|Write to a backup register. More...|
Functions to read/write battery-backed hardware registers.
Read from a backup register.
A backup register is a battery-backed hardware register whose value persists through system resets and sleep.
The value of a backup register is lost only when power is removed from the device.
The backup register to read
- 32bit value of the backup register
Write to a backup register.
The backup register to write
32bit value to write to backup register