/* Configure RTC callback for tamper and alarm function.  */
void configure_rtc_callbacks(void)
/* Configure RTC callback for tamper and alarm function.  */
void configure_rtc_callbacks(void)
{
	rtc_calendar_register_callback(
	&rtc_instance, rtc_tamper_callback, RTC_CALENDAR_CALLBACK_TAMPER);
	rtc_calendar_register_callback(
	&rtc_instance, rtc_match_callback, RTC_CALENDAR_CALLBACK_ALARM_0);
}