mbed libraries for KL25Z

Dependents:   FRDM_RGBLED

Revision:
8:c14af7958ef5
Child:
9:663789d7729f
diff -r 73c5efe92a6c -r c14af7958ef5 rtc_api.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rtc_api.h	Fri Nov 09 11:33:53 2012 +0000
@@ -0,0 +1,30 @@
+/* mbed Microcontroller Library - rtc_api
+ * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
+ */
+#ifndef MBED_RTC_API_H
+#define MBED_RTC_API_H
+
+#include "device.h"
+
+#if DEVICE_RTC
+
+#include <time.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif 
+
+void rtc_init(void);
+void rtc_free(void);
+int rtc_isenabled(void);
+
+time_t rtc_read(void);
+void rtc_write(time_t t);
+
+#ifdef __cplusplus
+}
+#endif 
+
+#endif
+
+#endif