<p></p>
<p>A different solution, only for my specific use case, would be to introduce a config variable, something like <code>CONFIG_SAM0_PERIPH_RTT_PERSIST_GPR</code>, and wrapping the RTC reset code with the snippet above.<br>
I could easily provide a PR for this one.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/issues/16756#issuecomment-901782949">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYCDCPF7NPTFIWO3QS3T5TJIVANCNFSM5CN2AMRA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABE7WYEWLMBSJA3DLRYGOHDT5TJIVA5CNFSM5CN2AMRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGXAB3JI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/issues/16756#issuecomment-901782949",
"url": "https://github.com/RIOT-OS/RIOT/issues/16756#issuecomment-901782949",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>