55 for (
size_t offset = 0; offset <=
sizeof(
BackupData) -
sizeof(checksum) -
sizeof(crc); offset++)
57 crc ^= *
reinterpret_cast<uint32_t*
>(
reinterpret_cast<uint8_t*
>(
this) + offset);
static constexpr uint32_t CHECKSUM_START
void backup_sram_read(void *dst, size_t len)
__STATIC_INLINE void NVIC_SystemReset(void)
System Reset.
uint32_t compute_checksum()
void backup_sram_write(const void *src, size_t len)
void backup_sram_clear(size_t len)