#include <zephyr.h>
#include <device.h>
#include <drivers/counter.h>
#include <logging/log.h>
#include <logging/log_ctrl.h>

typedef struct rtc_t {
	int (*init)(void);
	int (*set_callback)(void (*fn)(uint32_t));
	int (*set_alarm)(uint32_t);
	uint32_t (*get_alarm)(void);
	void (*set_data_time)(uint32_t);
	uint32_t (*get_data_time)(void);
}rtc_t;

extern rtc_t* p_rtc;
