4545

Dependents:   LSS_Rev_1

Fork of mbed-dev by Umar Naeem

Revision:
150:02e0a0aed4ec
Parent:
149:156823d33999
diff -r 156823d33999 -r 02e0a0aed4ec targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.h
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.h	Fri Oct 28 11:17:30 2016 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/sleep.h	Tue Nov 08 17:45:16 2016 +0000
@@ -42,10 +42,10 @@
 #include "crossbar.h"
 #include "clock.h"
 
-#define SLEEP_TYPE_NONE            0
+#define SLEEP_TYPE_NONE         0
 #define SLEEP_TYPE_SLEEP        1
 #define SLEEP_TYPE_DEEPSLEEP    2
-#define SLEEP_TYPE_COMA            3
+#define SLEEP_TYPE_COMA         3
 
 #define SLEEP_TYPE_DEFAULT SLEEP_TYPE_DEEPSLEEP
 
@@ -54,6 +54,10 @@
 #define SLEEP_DURATION_DEEPSLEEP_MAX    500         /* msec */
 #define SLEEP_DURATION_COMA_MAX         1000000000  /* TODO 1000 sec */
 
-void coma(void);
+void fncs36510_sleep(void);
+
+void fncs36510_deepsleep(void);
+
+void fncs36510_coma(void);
 
 #endif // SLEEP_H_