/* Configure the RTC timer count after which interrupts comes.  */
static void configure_rtc_count(void)
/* Configure the RTC timer count after which interrupts comes.  */
static void configure_rtc_count(void)
{
	struct rtc_count_config config_rtc_count;
	rtc_count_get_config_defaults(&config_rtc_count);
	config_rtc_count.prescaler           = RTC_COUNT_PRESCALER_DIV_1;
	config_rtc_count.mode                = RTC_COUNT_MODE_16BIT;
	config_rtc_count.continuously_update = true;
	rtc_count_init(&rtc_instance,RTC,&config_rtc_count);
	rtc_count_enable(&rtc_instance);
}